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

Function TEST

test/random.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199using af::sum;
200
201TEST(RandomEngine, Default) {
202 // Using default Random engine will cause segfaults
203 // without setting one. This test should be before
204 // setting it to test if default engine setup is working
205 // as expected, otherwise the test will fail.
206 randomEngine engine = getDefaultRandomEngine();
207}
208
209TEST(Random, CPP) {
210 // TEST will fail if exception is thrown, which are thrown

Callers

nothing calls this directly

Calls 5

getDefaultRandomEngineFunction · 0.85
randuFunction · 0.85
randnFunction · 0.85
syncFunction · 0.50

Tested by

no test coverage detected