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

Method test_string_vector

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

Source from the content-addressed store, hash-verified

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"})
427 arr.spam = [["foo", "bar"] for _ in range(15)]
428 self.check(arr, arr.info(rows=12, width=self.width), 13)
429
430 def test_select_species(self):
431 arr = ct.SolutionArray(self.gas, 5)

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected