MCPcopy Create free account
hub / github.com/apache/arrow / VerifyValue

Method VerifyValue

cpp/src/arrow/array/array_test.cc:4291–4296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4289class TestHalfFloatBuilder : public ::testing::Test {
4290 public:
4291 void VerifyValue(const HalfFloatBuilder& builder, int64_t index, float expected) {
4292 ASSERT_EQ(builder.GetValue(index), Float16(expected).bits());
4293 ASSERT_EQ(builder.GetValue<Float16>(index), Float16(expected));
4294 ASSERT_EQ(builder.GetValue<uint16_t>(index), Float16(expected).bits());
4295 ASSERT_EQ(builder[index], Float16(expected).bits());
4296 }
4297};
4298
4299TEST_F(TestHalfFloatBuilder, TestAppend) {

Callers

nothing calls this directly

Calls 2

Float16Function · 0.50
GetValueMethod · 0.45

Tested by

no test coverage detected