blob: 37d9ff29264bd66726a426d8ff7f3741f47fa959 [file] [log] [blame]
function TestCase(scenarios, sanityChecker) {
function runTest(scenario) {
// This check is A NOOP in release.
sanityChecker.checkScenario(scenario);
runLengthTest(
scenario,
4096,
scenario.expectation,
scenario.test_description);
}
function runTests() {
for (const scenario of scenarios) {
runTest(scenario);
}
}
return {start: runTests};
}