@@ -0,0 +1,1510 @@
+package javatests.com.williamfiset.algorithms.strings;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Aimport com.williamfiset.algorithms.strings.BoyerMooreStringSearch;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class BoyerMooreStringSearchTest %7B%0A%0A  private BoyerMooreStringSearch underTest;%0A%0A  @Before%0A  public void setup() %7B%0A    underTest = new BoyerMooreStringSearch();%0A  %7D%0A%0A  @Test%0A  public void shouldReturnEmptyListOnNullInput() %7B%0A    assertThat(underTest.findOccurrences(null, %22%22)).isEmpty();%0A    assertThat(underTest.findOccurrences(%22%22, null)).isEmpty();%0A    assertThat(underTest.findOccurrences(null, null)).isEmpty();%0A  %7D%0A%0A  @Test%0A  public void shouldReturnOneOccurrence() %7B%0A    assertThat(%0A            underTest.findOccurrences(%0A                %22Sample text for testing the Boyer-Moore algorithm.%22, %22Sample%22))%0A        .containsExactly(0);%0A    assertThat(%0A            underTest.findOccurrences(%22Sample text for testing the Boyer-Moore algorithm.%22, %22for%22))%0A        .containsExactly(12);%0A    assertThat(underTest.findOccurrences(%22Sample text for testing the Boyer-Moore algorithm.%22, %22.%22))%0A        .containsExactly(49);%0A  %7D%0A%0A  @Test%0A  public void shouldReturnMultiplyOccurrences() %7B%0A    assertThat(%0A            underTest.findOccurrences(%22Sample text for testing the Boyer-Moore algorithm.%22, %22te%22))%0A        .containsAllOf(7, 16);%0A    assertThat(underTest.findOccurrences(%22Sample text for testing the Boyer-Moore algorithm.%22, %22 %22))%0A        .containsAllOf(6, 11, 15, 23, 39);%0A  %7D%0A%7D%0A

Move BoyerMooreStringSearchTest to new project structure for #120