@ -159,6 +159,9 @@ public class Logic {
public void setClearedBelow(boolean b) {
this.clearedBelow = b;
}
public void setClearedRight(boolean b) {
this.clearedRight = b;
@ -220,4 +220,12 @@ class LogicTest {
assertEquals(logic.getClearedBelow(), true);
@Test
void testSetterClearedRight() {
Logic logic = new Logic();
logic.setClearedRight(true);
assertEquals(logic.getClearedRight(), true);