MCPcopy Create free account
hub / github.com/Samsung/ONE / TEST_F

Function TEST_F

compiler/coco/core/src/IR/KernelObject.test.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48} // namespace
49
50TEST_F(KernelObjectTest, constructor)
51{
52 const nncc::core::ADT::kernel::Shape shape{1, 1, 3, 3};
53 auto o = allocate(shape);
54
55 ASSERT_EQ(o->shape(), shape);
56 ASSERT_EQ(o->kind(), coco::Object::Kind::Kernel);
57}
58
59TEST_F(KernelObjectTest, asKernel)
60{

Callers

nothing calls this directly

Calls 4

allocateFunction · 0.85
shapeMethod · 0.45
kindMethod · 0.45
asKernelMethod · 0.45

Tested by

no test coverage detected