예제 #1
0
  public void doTestNoMatch(CharsMatcher matcher, String s) {

    assertFalse(matcher.matching(s, 0));
  }
예제 #2
0
  public void doTestMatch(CharsMatcher matcher, String s) {

    assertTrue(matcher.matching(s, 0));
    assertTrue(matcher.firstIndexIn(s) >= 0);
    assertTrue(matcher.lastIndexIn(s) >= 0);
  }