testing

Checks of the library’s model contract, to call from your own model’s tests.

Functions

check_model(model[, at, s, samples, scale, ...])

Check a model, or a robot's mechanism, against the contract; returns the worst error of each check, and raises an AssertionError that lists the checks that failed.