( self )
| 41 | class DataAlgoTest( unittest.TestCase ) : |
| 42 | |
| 43 | def testGetGeometricInterpretation( self ) : |
| 44 | |
| 45 | self.assertEqual( IECore.GeometricData.Interpretation.Vector, IECore.getGeometricInterpretation( IECore.V3fVectorData( [], IECore.GeometricData.Interpretation.Vector ) ) ) |
| 46 | self.assertEqual( IECore.GeometricData.Interpretation.Normal, IECore.getGeometricInterpretation( IECore.V3fVectorData( [], IECore.GeometricData.Interpretation.Normal ) ) ) |
| 47 | self.assertEqual( IECore.GeometricData.Interpretation.Point, IECore.getGeometricInterpretation( IECore.V3fData( imath.V3f( 1 ), IECore.GeometricData.Interpretation.Point ) ) ) |
| 48 | self.assertEqual( IECore.GeometricData.Interpretation.None_, IECore.getGeometricInterpretation( IECore.V3fData( imath.V3f( 1 ), IECore.GeometricData.Interpretation.None_ ) ) ) |
| 49 | self.assertEqual( IECore.GeometricData.Interpretation.None_, IECore.getGeometricInterpretation( IECore.FloatData( 5 ) ) ) |
| 50 | self.assertEqual( IECore.GeometricData.Interpretation.None_, IECore.getGeometricInterpretation( IECore.StringData( "foo" ) ) ) |
| 51 | |
| 52 | def testSetGeometricInterpretation( self ) : |
| 53 |
nothing calls this directly
no test coverage detected