generatorfunctionfunction generator(seed: number): () => numberA generator of numbers from a seed: the same seed gives the same numbers.
The case that compares a store with a model: a long sequence of operations, chosen by a seeded generator, is made on the store and on a model that holds the laws of a store in a few lines, and every answer is compared (the kind of answer, the bytes, the flags, the order of a list, and whether a revision changed where the bytes did and not otherwise). A failure names the seed and the step, so that it can be run again.
generatorfunctionfunction generator(seed: number): () => numberA generator of numbers from a seed: the same seed gives the same numbers.
modelCasefunctionno test imports itfunction modelCase(seed: number, steps: number): CaseA case: steps operations from seed, compared with the model.