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