basedOpinionated utility library |
git clone git://git.dimitrijedobrota.com/based.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
mapper_test.cpp (360B)
0 #define CATCH_CONFIG_RUNTIME_STATIC_REQUIRE
2 #include "based/character/mapper.hpp"
4 #include <catch2/catch_test_macros.hpp>
6 #include "based/character/type.hpp"
8 struct Test
9 {
10 constexpr bool operator()(based::Character chr) const { return chr >= '\0'; }
11 };
13 template class based::Mapper<Test>;
15 TEST_CASE("mapper", "[character/mapper]")
16 {
17 REQUIRE(true);
18 }