diff options
author | mathieu <mathieu.carriere3@gmail.com> | 2020-03-13 11:19:34 -0400 |
---|---|---|
committer | mathieu <mathieu.carriere3@gmail.com> | 2020-03-13 11:19:34 -0400 |
commit | e2f60e83aa45aa19a34eb5630f8747fbea2b986c (patch) | |
tree | d2c2388e567b11f892cb42755afec69aaed1e032 /src/python/test | |
parent | 45b918a17cfa26a0c58d7871b869aa13b0e45019 (diff) | |
parent | 05b409f60132a73e47f6f58ba80a6343b5bdb1a6 (diff) |
fixed test
Diffstat (limited to 'src/python/test')
-rwxr-xr-x | src/python/test/test_cubical_complex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/test/test_cubical_complex.py b/src/python/test/test_cubical_complex.py index 8af63355..b20f77c1 100755 --- a/src/python/test/test_cubical_complex.py +++ b/src/python/test/test_cubical_complex.py @@ -148,7 +148,7 @@ def test_connected_sublevel_sets(): assert cub.persistence() == [(0, (2.0, float("inf")))] assert cub.betti_numbers() == [1, 0, 0] -def test_connected_sublevel_sets(): +def test_cubical_generators(): cub = CubicalComplex(top_dimensional_cells = [[0, 0, 0], [0, 1, 0], [0, 0, 0]]) cub.persistence() - assert cub.cofaces_of_persistence_pairs() == np.array([[1, 7, 4], [0, 8, -1]]) + assert np.array_equal(cub.cofaces_of_persistence_pairs(), np.array([[1, 7, 4], [0, 8, -1]])) |