Return a string by value.
(self)
| 34 | self.assertEqual('y', 'y') |
| 35 | |
| 36 | def testReturnByValue(self): |
| 37 | """Return a string by value.""" |
| 38 | a = vtkArray.CreateArray(1, VTK_INT) |
| 39 | a.Resize(1,1) |
| 40 | a.SetDimensionLabel(0, 'x') |
| 41 | s = a.GetDimensionLabel(0) |
| 42 | self.assertEqual(s, 'x') |
| 43 | |
| 44 | def testPassByReference(self): |
| 45 | """Pass a string by reference.""" |
nothing calls this directly
no test coverage detected