assertthat
Version:
assertthat provides fluent TDD.
13 lines (12 loc) • 378 B
TypeScript
import { BenchmarkFunction } from './BenchmarkFunction';
import { BenchmarkSetup } from './BenchmarkSetup';
import { BenchmarkTeardown } from './BenchmarkTeardown';
interface BenchmarkCase {
name: string;
unit: string;
benchmark: BenchmarkFunction;
scales: number[];
setup?: BenchmarkSetup;
teardown?: BenchmarkTeardown;
}
export type { BenchmarkCase };