minor changes

This commit is contained in:
rishab
2025-03-14 14:34:09 +05:30
parent e6ac72b2cc
commit bafcd54dce
2 changed files with 7 additions and 13 deletions
@@ -45,7 +45,7 @@ public class PAppletKeyEventTest {
applet.handleKeyEvent(releaseShift);
Assert.assertFalse("keyPressed should be false after all keys released", applet.keyPressed);
Assert.assertEquals("pressedKeys should be empty", true, applet.pressedKeys.isEmpty());
Assert.assertTrue("pressedKeys should be empty", applet.pressedKeys.isEmpty());
}
@Test
@@ -81,7 +81,7 @@ public class PAppletKeyEventTest {
applet.handleKeyEvent(releaseAlt);
Assert.assertFalse("keyPressed should be false after all keys released", applet.keyPressed);
Assert.assertEquals("pressedKeys should be empty", true, applet.pressedKeys.isEmpty());
Assert.assertTrue("pressedKeys should be empty", applet.pressedKeys.isEmpty());
}
@Test