(self)
| 58 | assert units["activation-energy"] == "K" |
| 59 | |
| 60 | def test_raises(self): |
| 61 | with pytest.raises(ct.CanteraError, match="non-unity conversion factor"): |
| 62 | ct.UnitSystem({"temperature": "2 K"}) |
| 63 | with pytest.raises(ct.CanteraError, match="non-unity conversion factor"): |
| 64 | ct.UnitSystem({"current": "2 A"}) |
| 65 | |
| 66 | def test_convert_to_default(self): |
| 67 | system = ct.UnitSystem() |
nothing calls this directly
no test coverage detected