File size: 392 Bytes
5c2ed06
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'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);
	});
});