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

Function TEST

test/covariance.cpp:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131TEST(Covariance, c32) {
132 array a = constant(cfloat(1.0f, -1.0f), 10, c32);
133 array b = constant(cfloat(2.0f, -1.0f), 10, c32);
134 ASSERT_THROW(cov(a, b, AF_VARIANCE_POPULATION), exception);
135}
136
137TEST(Covariance, c64) {
138 SUPPORTED_TYPE_CHECK(double);

Callers

nothing calls this directly

Calls 2

constantFunction · 0.85
covFunction · 0.50

Tested by

no test coverage detected