diff --git a/python/tests/reference/Grid/n10-id1_scaled.vti b/python/tests/reference/Grid/n10-id1_scaled.vti new file mode 100644 index 000000000..708a1167c --- /dev/null +++ b/python/tests/reference/Grid/n10-id1_scaled.vti @@ -0,0 +1,19 @@ + + + + + + AQAAAACAAABPAAAAVgAAAA==eF4FwW0KgCAMANCO4s8iJnNLIS/Qv64Qo9kHGYlB5+89lVvey071VJsf0WVOJVXzsUWLILkcwkAUYCfdfJCwDqYlJAcYwHlDHB1FHnskxK75AdGCFTk= + + + + + + + + AQAAAACAAABIAwAAhgAAAA==eF6NkgEKwCAMAzvd1P7/w2OQsBAqKASWA3vgOiLikgyE/UHWAZtgN76ZtmFN7nvnTHcsySXOhftTGGeGOfU4y/jnpWQVXB0V+87Oy3fmSXT3ZsHo6EjFOro6IvZeJoXdiLrJetEZzvKuu/VY173izIp98/iPnbljt8+nXnXo/lbsBSdGA8o= + + + + + diff --git a/python/tests/reference/Grid/n10-id1_scaled.vtk b/python/tests/reference/Grid/n10-id1_scaled.vtk new file mode 100644 index 000000000..bced8991e Binary files /dev/null and b/python/tests/reference/Grid/n10-id1_scaled.vtk differ diff --git a/python/tests/test_Grid.py b/python/tests/test_Grid.py index 83f00f197..36d489939 100644 --- a/python/tests/test_Grid.py +++ b/python/tests/test_Grid.py @@ -439,3 +439,11 @@ class TestGrid: current.save(ref_path/'measured.vti') assert grid_equal(current,reference) + + def test_load_Neper_reference(self,ref_path,update): + current = Grid.load_Neper(ref_path/'n10-id1_scaled.vtk') + reference = Grid.load(ref_path/'n10-id1_scaled.vti') + if update: + current.save(ref_path/'n10-id1_scaled.vti') + + assert grid_equal(current,reference)