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

Function TEST_F

cpp/src/arrow/buffer_test.cc:243–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241};
242
243TEST_F(TestDevice, Basics) {
244 ASSERT_TRUE(cpu_device_->is_cpu());
245
246 ASSERT_EQ(*cpu_device_, *cpu_device_);
247 ASSERT_EQ(*my_copy_device_, *my_copy_device_);
248 ASSERT_NE(*cpu_device_, *my_copy_device_);
249 ASSERT_NE(*my_copy_device_, *cpu_device_);
250
251 ASSERT_TRUE(cpu_mm_->is_cpu());
252 ASSERT_FALSE(my_copy_mm_->is_cpu());
253 ASSERT_FALSE(my_other_mm_->is_cpu());
254}
255
256TEST_F(TestDevice, Copy) {
257 // CPU-to-CPU

Callers

nothing calls this directly

Calls 7

AssertBufferEqualFunction · 0.85
AssertMyBufferEqualFunction · 0.85
addressMethod · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.70
deviceMethod · 0.45
device_typeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected