Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/VTK
/ testObject
Method
testObject
Common/Core/Testing/Python/TestSingleton.py:24–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
22
self.assertIs(c, d)
23
24
def
testObject(self):
25
a = vtkObject()
26
b = vtkObject()
27
self.assertNotEqual(a, b)
28
29
if
__name__ ==
"__main__"
:
30
Testing.main([(TestSingleton,
'test'
)])
Callers
nothing calls this directly
Calls
1
vtkObject
Class · 0.50
Tested by
no test coverage detected