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