Construct from int
(self)
| 54 | self.assertEqual(v.ToString(), u.ToString()) |
| 55 | |
| 56 | def testIntConstructor(self): |
| 57 | """Construct from int""" |
| 58 | v = vtkVariant(10) |
| 59 | self.assertEqual(v.GetType(), VTK_INT) |
| 60 | self.assertEqual(v.ToInt(), 10) |
| 61 | |
| 62 | def testFloatConstructor(self): |
| 63 | """Construct from float""" |
nothing calls this directly
no test coverage detected