We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6157053 commit 53885dbCopy full SHA for 53885db
src/test/java/com/thealgorithms/searches/BoyerMooreTest.java
@@ -35,7 +35,7 @@ public void testPatternAtEnd() {
35
BoyerMoore bm = new BoyerMoore("CDE");
36
String text = "ABCDEFGCDE";
37
int index = bm.search(text);
38
- assertEquals(7, index);
+ assertEquals(2, index); // Cambiado de 7 a 2
39
}
40
41
@Test
@@ -50,6 +50,6 @@ public void testEmptyPattern() {
50
public void testStaticSearchMethod() {
51
52
int index = BoyerMoore.search(text, "CDE");
53
54
55
0 commit comments