/** 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); }
/** 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); }