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

Method VerifyValue

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

Source from the content-addressed store, hash-verified

4416class TestHalfFloatBuilder : public ::testing::Test {
4417 public:
4418 void VerifyValue(const HalfFloatBuilder& builder, int64_t index, float expected) {
4419 ASSERT_EQ(builder.GetValue(index), Float16(expected).bits());
4420 ASSERT_EQ(builder.GetValue<Float16>(index), Float16(expected));
4421 ASSERT_EQ(builder.GetValue<uint16_t>(index), Float16(expected).bits());
4422 ASSERT_EQ(builder[index], Float16(expected).bits());
4423 }
4424};
4425
4426TEST_F(TestHalfFloatBuilder, TestAppend) {

Callers

nothing calls this directly

Calls 2

Float16Function · 0.50
GetValueMethod · 0.45

Tested by

no test coverage detected