| 70 | } |
| 71 | |
| 72 | void TestMdf3Time(const std::string& filepath, uint64_t time) { |
| 73 | MdfReader reader(filepath); |
| 74 | ASSERT_TRUE(reader.IsOk()); |
| 75 | ASSERT_TRUE(reader.ReadHeader()); |
| 76 | const auto* file1 = reader.GetFile(); |
| 77 | ASSERT_TRUE(file1 != nullptr); |
| 78 | const auto* header1 = file1->Header(); |
| 79 | ASSERT_TRUE(header1 != nullptr); |
| 80 | |
| 81 | EXPECT_EQ(header1->StartTime(), time) << filepath; |
| 82 | } |
| 83 | |
| 84 | void TestMdf4Time(const std::string& filepath, uint64_t time, |
| 85 | uint16_t tz_offset_min, uint16_t dst_offset_min) { |