| 74 | // and that all other bits are equal to `expected_high`. |
| 75 | template <typename T, size_t N, typename U, typename V> |
| 76 | void AssertArrayBits(const std::array<T, N>& a, U expected_low, V expected_high) { |
| 77 | EXPECT_EQ(a[0], expected_low); |
| 78 | for (size_t i = 1; i < N; ++i) { |
| 79 | EXPECT_EQ(a[i], expected_high); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | Decimal128 Decimal128FromLE(const std::array<uint64_t, 2>& a) { |
| 84 | return Decimal128(Decimal128::LittleEndianArray, a); |
no outgoing calls
no test coverage detected