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

Method VerifyValue

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

Source from the content-addressed store, hash-verified

4339class TestHalfFloatBuilder : public ::testing::Test {
4340 public:
4341 void VerifyValue(const HalfFloatBuilder& builder, int64_t index, float expected) {
4342 ASSERT_EQ(builder.GetValue(index), Float16(expected).bits());
4343 ASSERT_EQ(builder.GetValue<Float16>(index), Float16(expected));
4344 ASSERT_EQ(builder.GetValue<uint16_t>(index), Float16(expected).bits());
4345 ASSERT_EQ(builder[index], Float16(expected).bits());
4346 }
4347};
4348
4349TEST_F(TestHalfFloatBuilder, TestAppend) {

Callers

nothing calls this directly

Calls 2

Float16Function · 0.50
GetValueMethod · 0.45

Tested by

no test coverage detected