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