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

Method test_plus_minus_i

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

Source from the content-addressed store, hash-verified

391 self.check(arr, arr.info(rows=7, width=self.width), 8)
392
393 def test_plus_minus_i(self):
394 arr = ct.SolutionArray(self.gas, 20,
395 extra={"foo": 10 * np.arange(-10, 10, dtype=int)})
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"})

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected