summaryrefslogtreecommitdiff
path: root/Tests/AK/TestBadge.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-06 01:19:30 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-06 17:54:28 +0200
commit67322b0702836807e29265e86556ebf43bb9d510 (patch)
tree86d2e2099ecc377cf11ddcf9106c500969b1afbb /Tests/AK/TestBadge.cpp
parentfd0dbd1ebfbcbc29d46393061daa49dc7390caa7 (diff)
downloadserenity-67322b0702836807e29265e86556ebf43bb9d510.zip
Tests: Move AK tests to Tests/AK
Diffstat (limited to 'Tests/AK/TestBadge.cpp')
-rw-r--r--Tests/AK/TestBadge.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/AK/TestBadge.cpp b/Tests/AK/TestBadge.cpp
new file mode 100644
index 0000000000..8f12b9dcb3
--- /dev/null
+++ b/Tests/AK/TestBadge.cpp
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2021, the SerenityOS developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#include <LibTest/TestCase.h>
+
+#include <AK/Badge.h>
+
+TEST_CASE(should_provide_underlying_type)
+{
+ static_assert(IsSame<int, Badge<int>::Type>);
+}