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

Method test_plus_minus_e

test/python/test_composite.py:404–408  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

402 self.check(arr, arr.info(rows=12, width=self.width), 13)
403
404 def test_plus_minus_e(self):
405 arr = ct.SolutionArray(self.gas, 20, extra={"foo": "bar", "spam": "eggs"})
406 self.check(arr, arr.info(rows=9, width=100), 10)
407 arr.foo = np.linspace(-1e6, 1.5e6, 20)
408 self.check(arr, arr.info(rows=12, width=self.width), 13)
409
410 def test_strings(self):
411 arr = ct.SolutionArray(self.gas, 26, extra={"foo": "bar", "spam": "eggs"})

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected