Merge pull request #202 from ayushbaid/patch-1
Fixing the test for merging two sets in the DSFrelease/4.3a0
						commit
						4169442a2b
					
				|  | @ -30,8 +30,10 @@ class TestDSFMap(GtsamTestCase): | |||
|         pair1 = gtsam.IndexPair(1, 18) | ||||
|         self.assertEqual(key(dsf.find(pair1)), key(pair1)) | ||||
|         pair2 = gtsam.IndexPair(2, 2) | ||||
|          | ||||
|         # testing the merge feature of dsf | ||||
|         dsf.merge(pair1, pair2) | ||||
|         self.assertTrue(dsf.find(pair1), dsf.find(pair1)) | ||||
|         self.assertEquals(key(dsf.find(pair1)), key(dsf.find(pair2))) | ||||
| 
 | ||||
| 
 | ||||
| if __name__ == '__main__': | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue