Remove test for code that does not exist anymore

This commit is contained in:
2020-07-20 10:38:41 +02:00
parent 73f80bc493
commit 9763592705
-20
View File
@@ -47,23 +47,3 @@ TEST(BufferUtils, get_file_frame_index)
ASSERT_EQ(BufferUtils::get_file_frame_index(12345543), 543);
ASSERT_EQ(BufferUtils::get_file_frame_index(12345999), 999);
}
TEST(BufferUtils, get_path_suffixes)
{
auto suffixes = BufferUtils::get_path_suffixes(15100, 18000);
ASSERT_EQ(suffixes[0].start_pulse_id, 15000);
ASSERT_EQ(suffixes[0].stop_pulse_id, 15999);
ASSERT_EQ(suffixes[0].path, "//0/15000.h5");
ASSERT_EQ(suffixes[1].start_pulse_id, 16000);
ASSERT_EQ(suffixes[1].stop_pulse_id, 16999);
ASSERT_EQ(suffixes[1].path, "//0/16000.h5");
ASSERT_EQ(suffixes[2].start_pulse_id, 17000);
ASSERT_EQ(suffixes[2].stop_pulse_id, 17999);
ASSERT_EQ(suffixes[2].path, "//0/17000.h5");
ASSERT_EQ(suffixes[3].start_pulse_id, 18000);
ASSERT_EQ(suffixes[3].stop_pulse_id, 18999);
ASSERT_EQ(suffixes[3].path, "//0/18000.h5");
}