Commit 291c423b authored by Gaetan's avatar Gaetan

Test class Vehicle() --> fonction getPrice OK

parent 9a20a370
......@@ -17,9 +17,8 @@ public class DieselEngineTest {
}
@Test
public String toString() {
public void toStringTest() {
String expected = "Diesel vehicle.parts.Engine";
Assert.assertEquals(expected, dieselEngine.toString());
return null;
}
}
\ No newline at end of file
package test;
package tests;
import garage.ExecutionFailedException;
import garage.Task;
import garage.TestBench;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Test;
......
......@@ -35,6 +35,4 @@ public class Engine {
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment