Skip to content

Commit c493e4b

Browse files
committed
remove solution code remaining
1 parent 8363e55 commit c493e4b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/org/launchcode/java/demos/testing/main/Car.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,4 @@ public void drive(double miles)
8282
this.odometer += milesAbleToTravel;
8383
}
8484

85-
public void addGas(double gas) {
86-
this.setGasTankLevel(gas + this.getGasTankLevel());
87-
}
8885
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
package org.launchcode.java.demos.testing.test;
22

33
public class CarTest {
4+
5+
//TODO: add emptyTest so we can configure our runtime environment (remove this test before pushing to your personal GitLab account)
6+
//TODO: constructor sets gasTankLevel properly
7+
//TODO: gasTankLevel is accurate after driving within tank range
8+
//TODO: gasTankLevel is accurate after attempting to drive past tank range
9+
//TODO: can't have more gas than tank size, expect an exception
10+
411
}

0 commit comments

Comments
 (0)