@@ -31,39 +31,39 @@ public void setup() {
3131 }
3232
3333 @ Test
34- public void testBoggleBoard_FindsAllWords () {
34+ public void testBoggleBoardFindsAllWords () {
3535 List <String > expected = Arrays .asList ("this" , "is" , "a" , "simple" , "board" , "boggle" , "NOTRE_PEATED" );
3636 List <String > result = WordBoggle .boggleBoard (board , words );
3737 assertEquals (expected .size (), result .size ());
3838 assertTrue (expected .containsAll (result ));
3939 }
4040
4141 @ Test
42- public void testBoggleBoard_NoMatchingWords () {
42+ public void testBoggleBoardNoMatchingWords () {
4343 // Test with words that don't exist on the board
4444 String [] nonMatchingWords = {"xyz" , "hello" , "world" };
4545 List <String > result = WordBoggle .boggleBoard (board , nonMatchingWords );
4646 assertEquals (0 , result .size ());
4747 }
4848
4949 @ Test
50- public void testBoggleBoard_EmptyBoard () {
50+ public void testBoggleBoardEmptyBoard () {
5151 // Test with an empty board
5252 char [][] emptyBoard = new char [0 ][0 ];
5353 List <String > result = WordBoggle .boggleBoard (emptyBoard , words );
5454 assertEquals (0 , result .size ());
5555 }
5656
5757 @ Test
58- public void testBoggleBoard_EmptyWordsArray () {
58+ public void testBoggleBoardEmptyWordsArray () {
5959 // Test with an empty words array
6060 String [] emptyWords = {};
6161 List <String > result = WordBoggle .boggleBoard (board , emptyWords );
6262 assertEquals (0 , result .size ());
6363 }
6464
6565 @ Test
66- public void testBoggleBoard_SingleCharacterWords () {
66+ public void testBoggleBoardSingleCharacterWords () {
6767 // Test with single-character words
6868 String [] singleCharWords = {"a" , "x" , "o" };
6969 List <String > expected = Arrays .asList ("a" , "o" );
@@ -72,7 +72,7 @@ public void testBoggleBoard_SingleCharacterWords() {
7272 }
7373
7474 @ Test
75- public void testBoggleBoard_DuplicateWordsInInput () {
75+ public void testBoggleBoardDuplicateWordsInInput () {
7676 // Test with duplicate words in the input array
7777 String [] duplicateWords = {"this" , "this" , "board" , "board" };
7878 List <String > expected = Arrays .asList ("this" , "board" );
0 commit comments