Browse Source

Surface.unite tests: check other attributes

Fabian Peter Hammerle 9 months ago
parent
commit
d0a6b86464
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tests/test_surface.py

+ 6 - 0
tests/test_surface.py

@@ -623,3 +623,9 @@ def test_unite_real():
     assert union.triangles[-2:] == [
         Triangle((155622, 155623, 155625)),
         Triangle((155623, 155625, 155626))]
+    assert union.creator == surface_a.creator
+    assert union.creation_datetime == surface_a.creation_datetime
+    assert union.using_old_real_ras == surface_a.using_old_real_ras
+    assert union.volume_geometry_info == surface_a.volume_geometry_info
+    assert union.command_lines == surface_a.command_lines
+    assert union.annotation == surface_a.annotation