MCPcopy Create free account
hub / github.com/RenderKit/embree / Test

Method Test

tutorials/verify/verify.h:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 struct Test : public RefCount
27 {
28 Test (std::string name, int isa, TestType ty, bool enabled = true)
29 : name(name), isa(isa), ty(ty), enabled(enabled), ignoreFailure(false)
30 {
31 RandomSampler_init(sampler,0x23F67E21);
32 }
33
34 bool random_bool () { return RandomSampler_getInt (sampler) % 2; }
35 float random_float () { return RandomSampler_getFloat(sampler); }

Callers

nothing calls this directly

Calls 1

RandomSampler_initFunction · 0.85

Tested by

no test coverage detected