(self)
| 76 | assert system.convert_activation_energy_to(4, "J/mol") == 0.004 |
| 77 | |
| 78 | def test_convert_rate_coeff(self): |
| 79 | system = ct.UnitSystem({"length": "cm"}) |
| 80 | assert system.convert_rate_coeff_to(11, ct.Units("m^3/kmol/s")) == approx(11e-6) |
| 81 | assert system.convert_rate_coeff_to("22 m^3/mol/s", "m^3/kmol/s") == approx(22e3) |
| 82 | |
| 83 | def test_convert_to_custom(self): |
| 84 | system = ct.UnitSystem({"length": "cm", "mass": "g"}) |
nothing calls this directly
no test coverage detected