Beispiel #1
0
 /**
  * Test method for {@link Main.Date#getSeconds()}.
  *
  * @throws ParseException
  */
 @Test
 public void testGetSeconds() throws ParseException {
   assertEquals(d.getSeconds(), 0);
 }
Beispiel #2
0
 /**
  * Test method for {@link Main.Date#setSeconds(int)}.
  *
  * @throws ParseException
  */
 @Test
 public void testSetSeconds() throws ParseException {
   d.setSeconds(30);
   ;
   assertEquals(d.getSeconds(), 30);
 }