Skip to content

Commit

Permalink
fix assert array equal
Browse files Browse the repository at this point in the history
  • Loading branch information
mjirik committed Oct 20, 2018
1 parent e69914e commit d089401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/image_manipulation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ def test_biggest_object(self):
seg_biggest = ima.get_one_biggest_object(segmentation)
# newlab = ima.get_nlabels(datap["slab"], "new", return_mode="str")
self.assertEqual(type(seg_biggest), np.ndarray)
self.assertEqual(np.array_equal(seg_biggest.shape), segmentation.shape)
self.assertEqual(np.array_equal(seg_biggest.shape), segmentation.shape)
self.assertTrue(np.array_equal(seg_biggest.shape, segmentation.shape))
self.assertTrue(np.array_equal(seg_biggest.shape, segmentation.shape))

def test_biggest_object_label(self):
datap = io3d.datasets.generate_abdominal()
Expand Down

0 comments on commit d089401

Please sign in to comment.