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

Function TEST

test/anisotropic_diffusion.cpp:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163TEST(AnisotropicDiffusion, GradientInvalidInputArray) {
164 try {
165 array out = anisotropicDiffusion(randu(100), 0.125f, 0.2f, 10,
166 AF_FLUX_QUADRATIC);
167 } catch (exception &exp) { ASSERT_EQ(AF_ERR_SIZE, exp.err()); }
168}
169
170TYPED_TEST(AnisotropicDiffusion, CurvatureGrayscale) {
171 UNSUPPORTED_BACKEND(AF_BACKEND_ONEAPI);

Callers

nothing calls this directly

Calls 2

randuFunction · 0.85
anisotropicDiffusionFunction · 0.50

Tested by

no test coverage detected