示例#1
0
 /** Test of getElapsedTimeInMilliSeconds method, of class TimeManager. */
 @Test
 public void testGetElapsedTimeInMilliSeconds() {
   System.out.println("getElapsedTimeInMilliSeconds");
   TimeManager instance = new TimeManager();
   double expResult = 360;
   myMethod(360);
   double result = instance.getElapsedTimeInMilliSeconds();
   Assert.assertEquals(expResult, result, 360);
 }
示例#2
0
 /** Test of getElapsedTimeInHours method, of class TimeManager. */
 @Test
 public void testGetElapsedTimeInHours() {
   System.out.println("getElapsedTimeInHours");
   TimeManager instance = new TimeManager();
   double expResult = 0.0001;
   myMethod(360);
   double result = instance.getElapsedTimeInHours();
   Assert.assertEquals(expResult, result, 0.0001);
 }