| 75 | } |
| 76 | |
| 77 | void CheckLevels(const std::vector<int16_t>& expected_def, |
| 78 | const std::vector<int16_t>& expected_rep) const { |
| 79 | ASSERT_FALSE(null_def_levels); |
| 80 | ASSERT_FALSE(null_rep_levels); |
| 81 | EXPECT_THAT(def_levels_, ElementsAreArray(expected_def)); |
| 82 | EXPECT_THAT(rep_levels_, ElementsAreArray(expected_rep)); |
| 83 | } |
| 84 | |
| 85 | friend std::ostream& operator<<(std::ostream& os, const CapturedResult& result) { |
| 86 | // This print method is to silence valgrind issues. What's printed |