@ -164,4 +164,9 @@ public class Logic {
public void setClearedRight(boolean b) {
this.clearedRight = b;
}
public void setClearedLeft(boolean b) {
this.clearedLeft = b;
@ -228,4 +228,12 @@ class LogicTest {
assertEquals(logic.getClearedRight(), true);
@Test
void testSetterClearedLeft() {
Logic logic = new Logic();
logic.setClearedLeft(true);
assertEquals(logic.getClearedLeft(), true);