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

Function TEST

cpp/src/arrow/array/statistics_test.cc:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace arrow {
27
28TEST(TestArrayStatistics, RowCountExact) {
29 ArrayStatistics statistics;
30 ASSERT_FALSE(statistics.row_count.has_value());
31 statistics.row_count = 45;
32 ASSERT_TRUE(statistics.row_count.has_value());
33 ASSERT_EQ(45, std::get<int64_t>(statistics.row_count.value()));
34}
35
36TEST(TestArrayStatistics, RowCountApproximate) {
37 ArrayStatistics statistics;

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected