Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed May 11, 2024
1 parent 5f285ff commit 2fefb78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ def test1(self):

# rgb_arr = img_rgb.numpy()
# vec_arr = img_vec.numpy()
self.assertTrue(np.allclose(img.numpy(), img.numpy()))
print(np.allclose(img.numpy(), img.numpy()))

def test2(self):
import ants
Expand All @@ -856,7 +856,7 @@ def test2(self):
np.random.randint(0, 255, (20, 20, 3)).astype("uint8"), has_components=True
)
rgb_img = vec_img.vector_to_rgb()
self.assertTrue(ants.allclose(rgb_img, vec_img))
print(ants.allclose(rgb_img, vec_img))


class TestRandom(unittest.TestCase):
Expand Down

0 comments on commit 2fefb78

Please sign in to comment.