summaryrefslogtreecommitdiff
path: root/asl/tests/buffer_tests.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-02 00:35:56 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commit72fe8dd2d6d6a3a5592646950a4e43b9a79ed9b4 (patch)
tree24f9db48382dab0ff16eef438a79e8e59e173b99 /asl/tests/buffer_tests.cpp
parent27c3969e69f5525ccb0bc462a615a14142b5f178 (diff)
Start work on buffer
Diffstat (limited to 'asl/tests/buffer_tests.cpp')
-rw-r--r--asl/tests/buffer_tests.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/asl/tests/buffer_tests.cpp b/asl/tests/buffer_tests.cpp
new file mode 100644
index 0000000..133a549
--- /dev/null
+++ b/asl/tests/buffer_tests.cpp
@@ -0,0 +1,8 @@
+#include <asl/buffer.hpp>
+
+#include <asl/testing/testing.hpp>
+
+static_assert(asl::buffer<int32_t>::kInlineCapacity == 5);
+static_assert(asl::buffer<int64_t>::kInlineCapacity == 2);
+static_assert(asl::buffer<char>::kInlineCapacity == 23);
+