( self )
| 156 | self.assertEqual( vdbObject.hash(), vdbObjectCopy.hash() ) |
| 157 | |
| 158 | def testCanGetGridFromObject( self ) : |
| 159 | sourcePath = os.path.join( self.dataDir, "smoke.vdb" ) |
| 160 | vdbObject = IECoreVDB.VDBObject( sourcePath ) |
| 161 | |
| 162 | grid = vdbObject.findGrid( "density" ) |
| 163 | self.assertEqual(grid.leafCount(), 3117) |
| 164 | |
| 165 | def testIfDifferentFromFile( self ) : |
| 166 | sourcePath = os.path.join( self.dataDir, "smoke.vdb" ) |