(self)
| 96 | assert system.convert_activation_energy_to(x, "J/kmol") == approx(1000 * x) |
| 97 | |
| 98 | def test_convert_rate_coeff_to_array(self): |
| 99 | system = ct.UnitSystem({"length": "cm"}) |
| 100 | x = np.array(((3, 4), (0.5, 2.0), (1.0, 0.0))) |
| 101 | assert system.convert_rate_coeff_to(x, "m^2/kmol/s") == approx(0.0001 * x) |
| 102 | |
| 103 | def test_convert_to_sequence(self): |
| 104 | system = ct.UnitSystem({"length": "km"}) |
nothing calls this directly
no test coverage detected