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

Method testDefaultConstructor

Common/Core/Testing/Python/TestVariant.py:43–47  ·  view source on GitHub ↗

Default constructor

(self)

Source from the content-addressed store, hash-verified

41
42class TestVariant(Testing.vtkTest):
43 def testDefaultConstructor(self):
44 """Default constructor"""
45 v = vtkVariant()
46 self.assertEqual(v.IsValid(), False)
47 self.assertEqual(v.GetType(), 0)
48
49 def testCopyConstructor(self):
50 """Construct from another vtkVariant"""

Callers

nothing calls this directly

Calls 3

vtkVariantClass · 0.50
IsValidMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected