test_generator: Increase iterations

This commit is contained in:
Merry 2022-07-24 21:09:36 +01:00 committed by merry
parent a5f3164c38
commit 78e266a869

View file

@ -269,7 +269,7 @@ int main(int, char*[]) {
std::array<u32, 64> ext_reg; std::array<u32, 64> ext_reg;
std::vector<u16> instructions; std::vector<u16> instructions;
for (size_t iteration = 0; iteration < 5; ++iteration) { for (size_t iteration = 0; iteration < 1000000; ++iteration) {
std::generate(regs.begin(), regs.end(), [] { return RandInt<u32>(0, ~u32(0)); }); std::generate(regs.begin(), regs.end(), [] { return RandInt<u32>(0, ~u32(0)); });
std::generate(ext_reg.begin(), ext_reg.end(), [] { return RandInt<u32>(0, ~u32(0)); }); std::generate(ext_reg.begin(), ext_reg.end(), [] { return RandInt<u32>(0, ~u32(0)); });