( self )
| 104 | self.assertEqual( sd, sdd ) |
| 105 | |
| 106 | def testRepr( self ) : |
| 107 | |
| 108 | s = IECore.SplinefColor3f( IECore.CubicBasisf.linear() ) |
| 109 | s[0] = imath.Color3f( 1 ) |
| 110 | s[1] = imath.Color3f( 2 ) |
| 111 | s[2] = imath.Color3f( 3 ) |
| 112 | s[3] = imath.Color3f( 4 ) |
| 113 | |
| 114 | sd = IECore.SplinefColor3fData( s ) |
| 115 | |
| 116 | self.assertEqual( repr(sd), "IECore.SplinefColor3fData( " + repr(s) + " )" ) |
| 117 | |
| 118 | self.assertEqual( sd, eval( repr(sd) ) ) |
| 119 | |
| 120 | def testHash( self ) : |
| 121 |