Metakit / @doeixd/metakit/conformance
checkOperation
function · packages/metakit/src/operationChecks.ts:81
function checkOperation(
op: AnyOperation,
table: OperationImplementations,
options?: {
readonly seed?: number
readonly sql?: ReadonlyArray<ParityRunner>
},
): OperationReportRun generated checks for every claim declared on op against table,
returning a report and Temporal.Discharges for the obligations registry.
Idempotence, commutativity and associativity each need a sampled equation
whose two sides return values.