diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-02-03 18:13:00 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-02-03 18:13:00 +0300 |
commit | c761b23e821e21b10c08ceaace918b72ea3b9a64 (patch) | |
tree | 548433c0060f536b38cc4e7057ade86d3290bb8b /tests | |
parent | 3534894eebef3d9a5db5abdfb058355d93bdb9e5 (diff) |
Test multiple raft interface layers
Should arrive at the correct raft thickness too then.
Contributes to issue CURA-8915.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestBuildVolume.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestBuildVolume.py b/tests/TestBuildVolume.py index 843b9e9d12..94926cdd2d 100644 --- a/tests/TestBuildVolume.py +++ b/tests/TestBuildVolume.py @@ -163,6 +163,7 @@ class TestComputeDisallowedAreasStatic: class TestUpdateRaftThickness: setting_property_dict = {"raft_base_thickness": {"value": 1}, + "raft_interface_layers": {"value": 2}, "raft_interface_thickness": {"value": 1}, "raft_surface_layers": {"value": 1}, "raft_surface_thickness": {"value": 1}, @@ -193,7 +194,7 @@ class TestUpdateRaftThickness: assert build_volume.getRaftThickness() == 0 build_volume._updateRaftThickness() - assert build_volume.getRaftThickness() == 3 + assert build_volume.getRaftThickness() == 4 # 1 base layer of 1mm, 2 interface layers of 1mm each, 1 top layer of 1mm. assert build_volume.raftThicknessChanged.emit.call_count == 1 def test_adhesionIsNotRaft(self, build_volume: BuildVolume): |