At the moment we have some methods to check the model makes sense:
Model.check_left_right_units_equal
and
testparser.py::check_rdf_identities(model)
testparser.py::check_dummy_assignment(model)
(I moved these last two into testing at one stage, as that was the only place they were used)
Should these be standard checks that occur after parsing a model? And maybe all hidden but called by some validate() method?
- Add a (validation) check that a model has only one free variable