@Test
public void onePattern_overlap() {
PasswordAnalysis pa = new PasswordAnalysis("12345");
pa.foundPattern(new PasswordPattern(1, 2, "23", 15, "worstPattern"));
pa.foundPattern(new PasswordPattern(1, 2, "23", 4, "bestPattern"));
pa.foundPattern(new PasswordPattern(1, 2, "23", 20, "worsePattern"));
pa.foundPattern(new PasswordPattern(1, 2, "23", 23, "worserPattern"));
PathCost patterns = pa.calculateHighestProbablePatterns();
List<PasswordPattern> list = patterns.getPath();