MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / TYPED_TEST

Function TYPED_TEST

test/sat.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39TYPED_TEST_SUITE(SAT, TestTypes);
40
41TYPED_TEST(SAT, IntegralImage) {
42 SUPPORTED_TYPE_CHECK(TypeParam);
43
44 array a = randu(530, 671, (af_dtype)dtype_traits<TypeParam>::af_type);
45 array b = accum(a, 0);
46 array c = accum(b, 1);
47
48 array s = sat(a);
49
50 EXPECT_EQ(true, allTrue<float>(c == s));
51}

Callers

nothing calls this directly

Calls 3

randuFunction · 0.85
accumFunction · 0.85
satFunction · 0.50

Tested by

no test coverage detected