MCPcopy Create free account
hub / github.com/Kitware/VTK / testArray

Method testArray

Common/DataModel/Testing/Python/TestTemplates.py:126–129  ·  view source on GitHub ↗

Test array CreateArray

(self)

Source from the content-addressed store, hash-verified

124 self.assertEqual(value, result)
125
126 def testArray(self):
127 """Test array CreateArray"""
128 o = vtkArray.CreateArray(vtkArray.DENSE, VTK_DOUBLE)
129 self.assertEqual(o.__class__, vtkDenseArray[float])
130
131 def testVector(self):
132 """Test vector templates"""

Callers

nothing calls this directly

Calls 1

CreateArrayMethod · 0.45

Tested by

no test coverage detected