diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-02-08 13:35:39 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-02-08 13:35:39 +0300 |
commit | 372d7b33c8943ae2daf07050b719b1499a4b5e12 (patch) | |
tree | ccecd91722eee9e602e3c198df28b25052da5cc2 /tests | |
parent | 10070cf6eb171ab1afb0fcb4edb94052814bab01 (diff) |
Add testing for raft_surface_layers
CURA-8915
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestBuildVolume.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestBuildVolume.py b/tests/TestBuildVolume.py index 94926cdd2d..7bc629962d 100644 --- a/tests/TestBuildVolume.py +++ b/tests/TestBuildVolume.py @@ -165,7 +165,7 @@ 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}, @@ -194,7 +194,7 @@ class TestUpdateRaftThickness: assert build_volume.getRaftThickness() == 0 build_volume._updateRaftThickness() - assert build_volume.getRaftThickness() == 4 # 1 base layer of 1mm, 2 interface layers of 1mm each, 1 top layer of 1mm. + 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): |