MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / TEST

Function TEST

src/opr/test/basic_arith/elemwise.cpp:938–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

936}
937
938TEST(TestOprBasicArithElemwise, CheckAllModeTested) {
939 size_t nr_member = opr::Elemwise::Param::MODE_NR_MEMBER;
940 ASSERT_EQ(nr_member, tested_mode.size() + 7);
941 // Not using TestRunner: NOT, AND, OR, XOR, NEQ, ISNAN, ISINF
942}
943#define TEST_OPR_BASIC_ARITH_UNARY_BOOL(_mode, _op) \
944 TEST(TestOprBasicArithElemwise, _mode) { \
945 HostTensorGenerator<dtype::Bool> gen; \

Callers 1

elemwise.cppFile · 0.70

Calls 15

TensorLayoutClass · 0.85
make_callback_copyFunction · 0.85
TensorShapeClass · 0.85
resizeMethod · 0.80
loadFunction · 0.50
makeFunction · 0.50
checkFunction · 0.50
genFunction · 0.50
ParamClass · 0.50
sizeMethod · 0.45
nodeMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected