Skip to content

Commit c0a515b

Browse files
committed
refactor renamed methods according to conventions
1 parent dc419a8 commit c0a515b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

voxels-common/src/test/java/common/game/HotbarTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ void testInitialSelection() {
3333
}
3434

3535
@Test
36-
void testSetSelectedSlot_Valid() {
36+
void testSetSelectedSlotValid() {
3737
hotbar.setSelectedSlot(5);
3838
assertEquals(5, hotbar.getSelectedSlot(), "Selection should update to a valid index");
3939
}
4040

4141
@Test
42-
void testSetSelectedSlot_InvalidBounds() {
42+
void testSetSelectedSlotInvalidBounds() {
4343
// Test high bound
4444
hotbar.setSelectedSlot(Hotbar.SIZE);
4545
assertEquals(0, hotbar.getSelectedSlot(), "Selection should remain unchanged if index >= SIZE");

0 commit comments

Comments
 (0)