@Test
  public final void testAllowNegative_invalid3() {
    pattern.setAllowNegative(true);

    assertFalse(pattern.matches("-1."));
  }
  @Test
  public final void testAllowNegative_positive1() {
    pattern.setAllowNegative(true);

    assertTrue(pattern.matches(".1"));
  }
  @Test
  public final void testAllowNegative_negative5() {
    pattern.setAllowNegative(true);

    assertTrue(pattern.matches("-1.0"));
  }