Can't really see the justification for a pure static class here. I wanted to avoid packages, but on reflection this is a pretty good use case for them.
A side benefit: some not too much older versions of matlab don't have the unit test classes. Other functions in the cmt namespace could still function without the need to do any tricks to leave the runTests function.
Can't really see the justification for a pure static class here. I wanted to avoid packages, but on reflection this is a pretty good use case for them.
A side benefit: some not too much older versions of matlab don't have the unit test classes. Other functions in the
cmt
namespace could still function without the need to do any tricks to leave therunTests
function.