Skip to content
Snippets Groups Projects
Commit 3b52bd53 authored by Manuel Krombholz's avatar Manuel Krombholz
Browse files

More checks in one test of ControllingItemTest

parent fa6167a5
No related branches found
No related tags found
2 merge requests!19dev to master,!8Partly resolves "Implement state copy in AST"
Pipeline #8770 failed
...@@ -139,7 +139,11 @@ public class ControllingItemTest { ...@@ -139,7 +139,11 @@ public class ControllingItemTest {
assertEquals(4, item2.getState(), DELTA); assertEquals(4, item2.getState(), DELTA);
item1.setState(5); item1.setState(5);
assertEquals(5, item1.getState(), DELTA); assertEquals(5, item1.getState(), DELTA, "Item was not controlled correctly");
assertEquals(5, item2.getState(), DELTA, "Item was not controlled correctly"); assertEquals(5, item2.getState(), DELTA, "Item was not controlled correctly");
item2.setState(3);
assertEquals(3, item1.getState(), DELTA, "Item was not controlled correctly");
assertEquals(3, item2.getState(), DELTA, "Item was not controlled correctly");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment