(self)
| 49 | assert checks[dim] == unit |
| 50 | |
| 51 | def test_activation_energy(self): |
| 52 | system = ct.UnitSystem({"activation-energy": "eV"}) |
| 53 | units = system.units |
| 54 | assert units["activation-energy"] == "eV" |
| 55 | |
| 56 | system = ct.UnitSystem({"activation-energy": "K"}) |
| 57 | units = system.units |
| 58 | assert units["activation-energy"] == "K" |
| 59 | |
| 60 | def test_raises(self): |
| 61 | with pytest.raises(ct.CanteraError, match="non-unity conversion factor"): |
nothing calls this directly
no test coverage detected