summaryrefslogtreecommitdiff
path: root/asl/tests/integers_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/tests/integers_tests.cpp')
-rw-r--r--asl/tests/integers_tests.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/asl/tests/integers_tests.cpp b/asl/tests/integers_tests.cpp
new file mode 100644
index 0000000..d15168e
--- /dev/null
+++ b/asl/tests/integers_tests.cpp
@@ -0,0 +1,11 @@
+#include "asl/integers.hpp"
+
+static_assert(sizeof(int8_t) == 1);
+static_assert(sizeof(int16_t) == 2);
+static_assert(sizeof(int32_t) == 4);
+static_assert(sizeof(int64_t) == 8);
+
+static_assert(sizeof(uint8_t) == 1);
+static_assert(sizeof(uint16_t) == 2);
+static_assert(sizeof(uint32_t) == 4);
+static_assert(sizeof(uint64_t) == 8);