We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc419a8 commit c0a515bCopy full SHA for c0a515b
1 file changed
voxels-common/src/test/java/common/game/HotbarTest.java
@@ -33,13 +33,13 @@ void testInitialSelection() {
33
}
34
35
@Test
36
- void testSetSelectedSlot_Valid() {
+ void testSetSelectedSlotValid() {
37
hotbar.setSelectedSlot(5);
38
assertEquals(5, hotbar.getSelectedSlot(), "Selection should update to a valid index");
39
40
41
42
- void testSetSelectedSlot_InvalidBounds() {
+ void testSetSelectedSlotInvalidBounds() {
43
// Test high bound
44
hotbar.setSelectedSlot(Hotbar.SIZE);
45
assertEquals(0, hotbar.getSelectedSlot(), "Selection should remain unchanged if index >= SIZE");
0 commit comments