@@ -9,22 +9,22 @@ TEST_CASE("an input with no entries (type deduced)", "[input]") {
9
9
constexpr auto input = lookup::input{1 };
10
10
CHECK (input.default_value == 1 );
11
11
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 );
14
14
}
15
15
16
16
TEST_CASE (" an input with no entries (explicit types)" , " [input]" ) {
17
17
constexpr auto input = lookup::input<float , int >{1 };
18
18
CHECK (input.default_value == 1 );
19
19
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 );
22
22
}
23
23
24
24
TEST_CASE (" an input with some entries (type deduced)" , " [input]" ) {
25
25
constexpr auto input = lookup::input (1 , std::array{lookup::entry{1 .0f , 2 }});
26
26
CHECK (input.default_value == 1 );
27
27
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 );
30
30
}
0 commit comments