From 75b10758ba116eabed730d23e957f1d69a1e3cb8 Mon Sep 17 00:00:00 2001
From: Steven Le Rouzic <steven.lerouzic@gmail.com>
Date: Tue, 6 Aug 2024 00:34:57 +0200
Subject: Type traits

---
 asl/integers_tests.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 asl/integers_tests.cpp

(limited to 'asl/integers_tests.cpp')

diff --git a/asl/integers_tests.cpp b/asl/integers_tests.cpp
new file mode 100644
index 0000000..0393a3c
--- /dev/null
+++ b/asl/integers_tests.cpp
@@ -0,0 +1,13 @@
+#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);
+
+int main() { return 0; }
-- 
cgit