@Test
public void decimal() {

  assertTrue(new UriTokenizer("1.2").next(TokenKind.DecimalValue));
  assertFalse(new UriTokenizer(".1").next(TokenKind.DecimalValue));
  assertTrue(new UriTokenizer("-12.34").next(TokenKind.DecimalValue));
  assertTrue(new UriTokenizer("1234567890.0123456789").next(TokenKind.DecimalValue));
  assertFalse(new UriTokenizer("0,1").next(TokenKind.DecimalValue));
  assertFalse(new UriTokenizer("0..1").next(TokenKind.DecimalValue));
}