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

Method test_passthrough

test/python/test_thermo.py:2052–2055  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2050class TestSolutionArray:
2051
2052 def test_passthrough(self):
2053 states = ct.SolutionArray(self.gas, 3)
2054 assert states.n_species == self.gas.n_species
2055 assert states.reaction(10).equation == self.gas.reaction(10).equation
2056
2057 def test_meta(self):
2058 meta = {'foo': 'bar', 'spam': 'eggs'}

Callers

nothing calls this directly

Calls 2

SolutionArrayMethod · 0.80
reactionMethod · 0.80

Tested by

no test coverage detected