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

Method test_independent_variable

test/python/test_reactor.py:1879–1885  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1877 assert sim.solver_stats['steps'] == 13
1878
1879 def test_independent_variable(self):
1880 surf, gas = self.import_phases()
1881 r, rsurf, sim = self.make_reactors(gas, surf)
1882 with pytest.raises(ct.CanteraError, match="independent variable"):
1883 sim.time
1884
1885 assert sim.distance == 0.0
1886
1887 def test_max_time_step(self):
1888 surf, gas = self.import_phases()

Callers

nothing calls this directly

Calls 2

import_phasesMethod · 0.95
make_reactorsMethod · 0.95

Tested by

no test coverage detected