コード例 #1
0
 public void test_toString3() throws Exception {
   NumberPrinterParser pp = new NumberPrinterParser(HOUR_OF_DAY, 1, 2, SignStyle.NOT_NEGATIVE);
   assertEquals(pp.toString(), "Value(HourOfDay,1,2,NOT_NEGATIVE)");
 }
コード例 #2
0
 // -----------------------------------------------------------------------
 public void test_toString1() throws Exception {
   NumberPrinterParser pp = new NumberPrinterParser(HOUR_OF_DAY, 1, 19, SignStyle.NORMAL);
   assertEquals(pp.toString(), "Value(HourOfDay)");
 }