Commit 5e03237
Changed files (2)
src
src/Q10/TrainTimeTableTest.java
@@ -13,16 +13,16 @@ public class TrainTimeTableTest extends TestCase {
private LinkedList<Station> stations =
new LinkedList<Station>(
Arrays.asList(
- new Station("Vancouver", null, new Date(), 1),
- new Station("Kamloops", new Date(), new Date(), 2),
- new Station("Jasper", new Date(), new Date(), 2),
- new Station("Edmonton", new Date(), new Date(), 2),
- new Station("Saskatchewan", new Date(), new Date(), 3),
- new Station("Winnipeg", new Date(), new Date(), 3),
- new Station("Sioux Lookout", new Date(), new Date(), 4),
- new Station("Hornepayne", new Date(), new Date(), 4),
- new Station("Capreol", new Date(), new Date(), 5),
- new Station("Toronto", new Date(), new Date(), 5)));
+ new Station("Vancouver", null, new Date(1546374600000l), 1),
+ new Station("Kamloops", new Date(1546408800000l), new Date(1546410900000l), 2),
+ new Station("Jasper", new Date(1546444800000l), new Date(1546450200000l), 2),
+ new Station("Edmonton", new Date(1546470000000l), new Date(1546473540000l), 2),
+ new Station("Saskatchewan", new Date(1546502400000l), new Date(1546503900000l), 3),
+ new Station("Winnipeg", new Date(1546548300000l), new Date(1546554600000l), 3),
+ new Station("Sioux Lookout", new Date(1546578120000l), new Date(1546580520000l), 4),
+ new Station("Hornepayne", new Date(1546616100000l), new Date(1546618200000l), 4),
+ new Station("Capreol", new Date(1546647480000l), new Date(1546649280000l), 5),
+ new Station("Toronto", new Date(1546680600000l), null, 5)));
public TrainTimeTableTest(String testName) {
super(testName);
src/Q9/RobotTest.java
@@ -41,8 +41,8 @@ public class RobotTest extends TestCase {
+ String.format("|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%3$s|%2$s", sp, rn, sr2);
String result = Robot.printGrid(r1, r2);
- System.out.println(expected);
- System.out.println(result);
+ // System.out.println(expected);
+ // System.out.println(result);
assertEquals(expected, result);
}
@@ -67,8 +67,8 @@ public class RobotTest extends TestCase {
+ String.format("|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%1$s|%2$s", sp, rn);
String result = Robot.printGrid(r1, r2);
- System.out.println(expected);
- System.out.println(result);
+ // System.out.println(expected);
+ // System.out.println(result);
assertEquals(expected, result);
}