summaryrefslogtreecommitdiff
path: root/src/python/test/test_cubical_complex.py
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-12-18 10:44:17 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-12-18 10:44:17 +0100
commitb63be266effe24646823acc59fe397021bb13a3e (patch)
tree92e7bd9863a8823cca7934fe0d8cf1481417128a /src/python/test/test_cubical_complex.py
parentb5510c0c362cd2bef79d82fd9809e654aea73957 (diff)
Reuse top_dimensional_cells instead of numpy_array argument to create a cubical
Diffstat (limited to 'src/python/test/test_cubical_complex.py')
-rwxr-xr-xsrc/python/test/test_cubical_complex.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/python/test/test_cubical_complex.py b/src/python/test/test_cubical_complex.py
index a37d7821..6d4e0309 100755
--- a/src/python/test/test_cubical_complex.py
+++ b/src/python/test/test_cubical_complex.py
@@ -77,9 +77,9 @@ def test_simple_constructor_from_top_cells():
def test_simple_constructor_from_numpy_array():
cub = CubicalComplex(
- numpy_array=np.array([[1, 2, 3],
- [4, 5, 6],
- [7, 8, 9]])
+ top_dimensional_cells=np.array([[1, 2, 3],
+ [4, 5, 6],
+ [7, 8, 9]])
)
simple_constructor(cub)
@@ -103,9 +103,9 @@ def test_user_case_simple_constructor_from_top_cells():
def test_user_case_simple_constructor_from_numpy_array():
cub = CubicalComplex(
- numpy_array=np.array([[float("inf"), 0.0, 0.0],
- [0.0, 1.0, 0.0],
- [0.0, 0.0, 0.0]])
+ top_dimensional_cells=np.array([[float("inf"), 0.0, 0.0],
+ [0.0, 1.0, 0.0],
+ [0.0, 0.0, 0.0]])
)
user_case_simple_constructor(cub)