Simple test of an integer arg with default value.
(self)
| 17 | |
| 18 | class TestDefaultArgs(Testing.vtkTest): |
| 19 | def testDefaultInt(self): |
| 20 | """Simple test of an integer arg with default value.""" |
| 21 | image = vtkImageData() |
| 22 | image.SetExtent(0,9,0,9,0,9) |
| 23 | image.AllocateScalars(VTK_UNSIGNED_CHAR, 1) |
| 24 | ipi = vtkImagePointIterator() |
| 25 | # call this method with the threadId parameter set to 0 |
| 26 | ipi.Initialize(image, (0,9,0,9,0,9), None, None, 0) |
| 27 | # call this method without the threadId parameter |
| 28 | ipi.Initialize(image, (0,9,0,9,0,9), None, None) |
| 29 | |
| 30 | def testDefaultObjectPointer(self): |
| 31 | """Test a vtkObject pointer arg with default value of 0.""" |
nothing calls this directly
no test coverage detected