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

Method test_ndarray1

test/python/test_utils.py:227–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

225 self.check_inexact_conversion((True, "spam", 3, 4.), "vector<AnyValue>")
226
227 def test_ndarray1(self):
228 self.check_inexact_conversion(np.random.randn(10), "vector<double>")
229
230 def test_ndarray2(self):
231 self.check_inexact_conversion(np.random.randn(3, 2), "vector<vector<double>>")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected