Break tests by fixing them
This commit is contained in:
parent
af27ef8d6c
commit
ab383b4be5
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ public:
|
||||||
u32 Generate() const {
|
u32 Generate() const {
|
||||||
u32 inst;
|
u32 inst;
|
||||||
do {
|
do {
|
||||||
u32 random = RandInt<u32>(0, 0xFFFF);
|
u32 random = RandInt<u32>(0, 0xFFFFFFFF);
|
||||||
inst = bits | (random & ~mask);
|
inst = bits | (random & ~mask);
|
||||||
} while (!is_valid(inst));
|
} while (!is_valid(inst));
|
||||||
return inst;
|
return inst;
|
||||||
|
|
Loading…
Reference in a new issue