Pokemon_server / test /sim /tools /exhaustive-runner.js
Jofthomas's picture
Jofthomas HF staff
Upload 4781 files
5c2ed06 verified
raw
history blame contribute delete
451 Bytes
'use strict';
const assert = require('assert').strict;
const { ExhaustiveRunner } = require('../../../dist/sim/tools/exhaustive-runner');
describe('ExhaustiveRunner (slow)', async () => {
it('should run successfully', async function () {
this.timeout(0);
const opts = { prng: [1, 2, 3, 4] };
for (const format of ExhaustiveRunner.FORMATS) {
opts.format = format;
assert.equal(await (new ExhaustiveRunner(opts).run()), 0);
}
});
});