MCPcopy Create free account
hub / github.com/Cantera/cantera / test_convert_activation_energy

Method test_convert_activation_energy

test/python/test_utils.py:73–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 assert system.convert_to(4, ct.Units("m")) == 4
72
73 def test_convert_activation_energy(self):
74 system = ct.UnitSystem()
75 assert system.convert_activation_energy_to("3 J/mol", "J/kmol") == 3000
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"})

Callers

nothing calls this directly

Calls 1

UnitSystemMethod · 0.45

Tested by

no test coverage detected