@@ -9,22 +9,22 @@ TEST_CASE("an input with no entries (type deduced)", "[input]") {
99 constexpr auto input = lookup::input{1 };
1010 CHECK (input.default_value == 1 );
1111 static_assert (
12- std::is_same_v<decltype (input), lookup::input<int , int , 0ul > const >);
13- CHECK (std::size (input) == 0ul );
12+ std::is_same_v<decltype (input), lookup::input<int , int , 0 > const >);
13+ CHECK (std::size (input) == 0 );
1414}
1515
1616TEST_CASE (" an input with no entries (explicit types)" , " [input]" ) {
1717 constexpr auto input = lookup::input<float , int >{1 };
1818 CHECK (input.default_value == 1 );
1919 static_assert (
20- std::is_same_v<decltype (input), lookup::input<float , int , 0ul > const >);
21- CHECK (std::size (input) == 0ul );
20+ std::is_same_v<decltype (input), lookup::input<float , int , 0 > const >);
21+ CHECK (std::size (input) == 0 );
2222}
2323
2424TEST_CASE (" an input with some entries (type deduced)" , " [input]" ) {
2525 constexpr auto input = lookup::input (1 , std::array{lookup::entry{1 .0f , 2 }});
2626 CHECK (input.default_value == 1 );
2727 static_assert (
28- std::is_same_v<decltype (input), lookup::input<float , int , 1ul > const >);
29- CHECK (std::size (input) == 1ul );
28+ std::is_same_v<decltype (input), lookup::input<float , int , 1 > const >);
29+ CHECK (std::size (input) == 1 );
3030}
0 commit comments