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

Method test_plus_minus_f

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

Source from the content-addressed store, hash-verified

396 self.check(arr, arr.info(rows=12, width=self.width), 13)
397
398 def test_plus_minus_f(self):
399 arr = ct.SolutionArray(self.gas, 20, extra={"foo": "bar", "spam": "eggs"})
400 self.check(arr, arr.info(rows=9), 10)
401 arr.foo = np.linspace(-1, 1.5, 20)
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"})

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected