assert_axioms

Contents

assert_axioms#

discopy.testable.assert_axioms(*categories)[source]#

Check every axiom of each category on a single generated example, a dry run of the property tests in proptest/.

An axiom that does not apply is skipped, a broken one is only required to raise its discopy.utils.AxiomError — one example need not be a counterexample — and any other law must hold.

Return type:

None