diff options
Diffstat (limited to 'Tests/AK/TestBadge.cpp')
-rw-r--r-- | Tests/AK/TestBadge.cpp | 14 |
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>); +} |