@@ -23,12 +23,12 @@ bool compare(sorted_t<K, V> a, sorted_t<K, V> b)
23
23
}
24
24
25
25
template <typename K>
26
- class TestKeyValueSort : public ::testing::Test {
26
+ class KeyValueSort : public ::testing::Test {
27
27
};
28
28
29
- TYPED_TEST_SUITE_P (TestKeyValueSort );
29
+ TYPED_TEST_SUITE_P (KeyValueSort );
30
30
31
- TYPED_TEST_P (TestKeyValueSort, KeyValueSort )
31
+ TYPED_TEST_P (KeyValueSort, test_64bit_random_data )
32
32
{
33
33
if (cpu_has_avx512bw ()) {
34
34
std::vector<int64_t > keysizes;
@@ -69,7 +69,7 @@ TYPED_TEST_P(TestKeyValueSort, KeyValueSort)
69
69
}
70
70
}
71
71
72
- TEST (TestKeyValueSort , test_inf_at_endofarray)
72
+ TEST (KeyValueSort , test_inf_at_endofarray)
73
73
{
74
74
std::vector<double > key = {8.0 , 7.0 , 6.0 , 5.0 , 4.0 , 3.0 , 2.0 , 1.0 , inf};
75
75
std::vector<double > key_sorted
@@ -81,7 +81,7 @@ TEST(TestKeyValueSort, test_inf_at_endofarray)
81
81
ASSERT_EQ (val, val_sorted);
82
82
}
83
83
84
- REGISTER_TYPED_TEST_SUITE_P (TestKeyValueSort, KeyValueSort );
84
+ REGISTER_TYPED_TEST_SUITE_P (KeyValueSort, test_64bit_random_data );
85
85
86
86
using TypesKv = testing::Types<double , uint64_t , int64_t >;
87
- INSTANTIATE_TYPED_TEST_SUITE_P (TestPrefixKv, TestKeyValueSort , TypesKv);
87
+ INSTANTIATE_TYPED_TEST_SUITE_P (T, KeyValueSort , TypesKv);
0 commit comments