( self )
| 84 | self.assertEqual( sd, sdd ) |
| 85 | |
| 86 | def testColorIO( self ) : |
| 87 | |
| 88 | s = IECore.RampfColor3f( |
| 89 | ( ( 0, imath.Color3f(1) ), ( 1, imath.Color3f(2) ), ( 2, imath.Color3f(3) ), ( 3, imath.Color3f(4) ) ), |
| 90 | IECore.RampInterpolation.MonotoneCubic |
| 91 | ) |
| 92 | sd = IECore.RampfColor3fData( s ) |
| 93 | |
| 94 | IECore.ObjectWriter( sd, os.path.join( "test", "IECore", "RampData.cob" ) ).write() |
| 95 | |
| 96 | sdd = IECore.ObjectReader( os.path.join( "test", "IECore", "RampData.cob" ) ).read() |
| 97 | |
| 98 | self.assertEqual( sd, sdd ) |
| 99 | |
| 100 | def testRepr( self ) : |
| 101 |
nothing calls this directly
no test coverage detected