| 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); } |
nothing calls this directly
no test coverage detected