Skip to content

Commit c25348f

Browse files
committed
remove lion-head.vtu
1 parent a1f000f commit c25348f

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

tests/meshes/lion-head.vtu

-3
This file was deleted.

tests/test_remesh_surface.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_remesh_surface():
2222
pygalmesh._cli.cli(
2323
[
2424
"remesh-surface",
25-
str(this_dir / "meshes" / "lion-head.vtu"),
25+
str(this_dir / "meshes" / "elephant.vtu"),
2626
out_filename,
2727
"--max-edge-size-at-feature-edges",
2828
"0.025",
@@ -39,12 +39,12 @@ def test_remesh_surface():
3939

4040
tol = 1.0e-3
4141
refs = [
42-
3.705640e-01,
43-
-3.711630e-01,
44-
4.754940e-01,
45-
-4.728260e-01,
46-
4.998690e-01,
47-
-4.998350e-01,
42+
3.60217000e-01,
43+
-3.60140000e-01,
44+
4.98948000e-01,
45+
-4.99336000e-01,
46+
3.00977000e-01,
47+
-3.01316000e-01,
4848
]
4949
vals = [
5050
max(mesh.points[:, 0]),
@@ -61,5 +61,5 @@ def test_remesh_surface():
6161
vol = sum(
6262
helpers.compute_triangle_areas(mesh.points, mesh.get_cells_type("triangle"))
6363
)
64-
ref = 1.917942005786831
65-
assert abs(vol - ref) < ref * 1.0e-3
64+
ref = 1.2357989593759846
65+
assert abs(vol - ref) < ref * 1.0e-3, vol

0 commit comments

Comments
 (0)