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

Function TEST

test/stdev.cpp:146–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144#pragma GCC diagnostic push
145#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
146TEST(StandardDev, InvalidDim) { ASSERT_THROW(stdev(array(), 5), exception); }
147
148TEST(StandardDev, InvalidType) {
149 ASSERT_THROW(stdev(constant(cdouble(1.0, -1.0), 10)), exception);

Callers

nothing calls this directly

Calls 3

constantFunction · 0.85
stdevFunction · 0.50
arrayClass · 0.50

Tested by

no test coverage detected