summaryrefslogtreecommitdiff
path: root/src/Q4/BanffMarathonRunnerTest.java
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-08 17:56:52 -0600
committermokha <mokha@cisco.com>2019-05-08 17:56:52 -0600
commitd7eccde0f7fe5f046a224336d2b2a789e9b0b9f7 (patch)
tree404e803511689d687c91342659f2229b12fee75c /src/Q4/BanffMarathonRunnerTest.java
parentf263324f457897de8a1fd95250526d9114b84778 (diff)
add doc and fix error in better than average logic
Diffstat (limited to 'src/Q4/BanffMarathonRunnerTest.java')
-rw-r--r--src/Q4/BanffMarathonRunnerTest.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Q4/BanffMarathonRunnerTest.java b/src/Q4/BanffMarathonRunnerTest.java
index b364457..5e41380 100644
--- a/src/Q4/BanffMarathonRunnerTest.java
+++ b/src/Q4/BanffMarathonRunnerTest.java
@@ -50,13 +50,14 @@ public class BanffMarathonRunnerTest extends TestCase {
String expected =
String.join(
System.lineSeparator(),
- "Elena 1",
- "Suzie 7",
- "Philip 9",
- "James 1",
- "Jane 1",
- "Emily 4",
- "Neda 3");
+ "Thomas 2",
+ "Hamilton 5",
+ "Alex 3",
+ "Emma 4",
+ "John 1",
+ "Daniel 4",
+ "Aaron 6",
+ "Kate 8");
assertEquals(expected, BanffMarathonRunner.getAboveAverageRunners(this.runners));
}
}