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

Function TEST

test/missing.cpp:21–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using namespace af;
20
21TEST(MissingFunctionTests, Dummy) {
22 array A = randu(10, 10, f32);
23 af_print(A);
24 af_print(arg(A));
25 af_print(arg(complex(A, A)));
26 af_print(trunc(3 * A));
27 af_print(factorial(ceil(2 * A)));
28 af_print(pow2(A));
29 af_print(root(2, A));
30 af_print(A - 0.5);
31 af_print(sign(A - 0.5));
32 af_print(minfilt(A, 3, 3) - erode(A, constant(1, 3, 3)));
33 af_print(maxfilt(A, 3, 3) - dilate(A, constant(1, 3, 3)));
34 printf("%lf\n", norm(A));
35}

Callers

nothing calls this directly

Calls 9

randuFunction · 0.85
truncFunction · 0.85
ceilFunction · 0.85
minfiltFunction · 0.85
erodeFunction · 0.85
constantFunction · 0.85
maxfiltFunction · 0.85
dilateFunction · 0.85
normFunction · 0.50

Tested by

no test coverage detected