Exemple #1
0
 /** Test of setTotalStops method, of class Fuel. */
 @Test
 public void testSetTotalStops() {
   System.out.println("setTotalStops");
   int totalStops = 0;
   FuelStrategy instance = new FuelStrategy();
   instance.setTotalStops(totalStops);
   // TODO review the generated test code and remove the default call to fail.
   fail("The test case is a prototype.");
 }
Exemple #2
0
 /** Test of setCurrentLap method, of class Fuel. */
 @Test
 public void testSetCurrentLap() {
   System.out.println("setCurrentLap");
   int currentLap = 0;
   FuelStrategy instance = new FuelStrategy();
   instance.setCurrentLap(currentLap);
   // TODO review the generated test code and remove the default call to fail.
   fail("The test case is a prototype.");
 }
Exemple #3
0
 /** Test of getTotalStops method, of class Fuel. */
 @Test
 public void testGetTotalStops() {
   System.out.println("getTotalStops");
   FuelStrategy instance = new FuelStrategy();
   int expResult = 0;
   int result = instance.getTotalStops();
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   fail("The test case is a prototype.");
 }
Exemple #4
0
 /** Test of toString method, of class Fuel. */
 @Test
 public void testToString() {
   System.out.println("toString");
   FuelStrategy instance = new FuelStrategy();
   String expResult = "";
   String result = instance.toString();
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   fail("The test case is a prototype.");
 }
Exemple #5
0
 /** Test of getFuelPerLap method, of class Fuel. */
 @Test
 public void testGetFuelPerLap() {
   System.out.println("getFuelPerLap");
   FuelStrategy instance = new FuelStrategy();
   double expResult = 0.0;
   double result = instance.getFuelPerLap();
   assertEquals(expResult, result, 0.0);
   // TODO review the generated test code and remove the default call to fail.
   fail("The test case is a prototype.");
 }