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

Method test_ndarray3

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

Source from the content-addressed store, hash-verified

231 self.check_inexact_conversion(np.random.randn(3, 2), "vector<vector<double>>")
232
233 def test_ndarray3(self):
234 # Each inner AnyValue holds a vector<vector<double>>
235 self.check_inexact_conversion(np.random.randn(3, 2, 4), "vector<AnyValue>")
236
237 def test_nested_string(self):
238 self.check_conversion([["spam", "eggs"], ["foo", "bar"]],

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected