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

Method test_double_vector

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

Source from the content-addressed store, hash-verified

413 self.check(arr, arr.info(rows=12, width=self.width), 13)
414
415 def test_double_vector(self):
416 arr = ct.SolutionArray(self.gas, 15, extra={"spam": "eggs"})
417 arr.spam = [[1.1, 2.2, 3.3] for _ in range(15)]
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"})

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected