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

Method test_integer_vector

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

Source from the content-addressed store, hash-verified

418 self.check(arr, arr.info(rows=12, width=self.width), 13)
419
420 def test_integer_vector(self):
421 arr = ct.SolutionArray(self.gas, 15, extra={"spam": "eggs"})
422 arr.spam = [np.array([1, 2, 3], dtype=int) for _ in range(15)]
423 self.check(arr, arr.info(rows=12, width=self.width), 13)
424
425 def test_string_vector(self):
426 arr = ct.SolutionArray(self.gas, 15, extra={"spam": "eggs"})

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected