diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-02-09 12:43:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 12:43:14 +0300 |
commit | 6e2bcc8f67e701b5cc3d03b275df63efd4937b1f (patch) | |
tree | 56254b42edb5294d2493ae377af94a53c0722bec /tests/TestBuildVolume.py | |
parent | 91b3d116bf7ad73308115d282495b7710f2d170a (diff) | |
parent | 6ebc51261ca2b9c877104656f457857a4cd1f414 (diff) |
Merge pull request #11409 from Ultimaker/CURA-8915_raft_middle_layers
Raft Middle Layers
Diffstat (limited to 'tests/TestBuildVolume.py')
-rw-r--r-- | tests/TestBuildVolume.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/TestBuildVolume.py b/tests/TestBuildVolume.py index 843b9e9d12..7bc629962d 100644 --- a/tests/TestBuildVolume.py +++ b/tests/TestBuildVolume.py @@ -163,8 +163,9 @@ 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_layers": {"value": 3}, "raft_surface_thickness": {"value": 1}, "raft_airgap": {"value": 1}, "layer_0_z_overlap": {"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() == 6 # 1 base layer of 1mm, 2 interface layers of 1mm each, 3 surface layer of 1mm. assert build_volume.raftThicknessChanged.emit.call_count == 1 def test_adhesionIsNotRaft(self, build_volume: BuildVolume): |