summaryrefslogtreecommitdiff
path: root/asl/tests/buffer_tests.cpp
diff options
context:
space:
mode:
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);
+