mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-27 04:05:40 -05:00
14 lines
394 B
JavaScript
14 lines
394 B
JavaScript
'use strict';
|
|
|
|
const assert = require('assert').strict;
|
|
|
|
const {MultiRandomRunner} = require('../../../dist/sim/tools/multi-random-runner');
|
|
|
|
describe('MultiRandomRunner (slow)', async function () {
|
|
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);
|
|
});
|
|
});
|