|
|
@ -31,7 +31,16 @@ class LeaderboardTest { |
|
|
|
new Player("Fuenf", 40), new Player("Sechs", 30), new Player("Sieben", 20), new Player("Acht", 10)), |
|
|
|
"TestPlayer", |
|
|
|
new Player[] {new Player("Eins", 80), new Player("Zwei", 70), new Player("Drei", 60), new Player("Vier", 50), |
|
|
|
new Player("Fuenf", 40), new Player("Sechs", 30), new Player("Sieben", 20), new Player("Acht", 10), null, null})); |
|
|
|
new Player("Fuenf", 40), new Player("Sechs", 30), new Player("Sieben", 20), new Player("Acht", 10), null, null}), |
|
|
|
Arguments.of("SortedListWithMoreThan10ElementsReturnsFirst10ElementsAsArray", |
|
|
|
List.of(new Player("Eins", 140), new Player("Zwei", 130), new Player("Drei", 120), new Player("Vier", 110), |
|
|
|
new Player("Fuenf", 100), new Player("Sechs", 90), new Player("Sieben", 80), new Player("Acht", 70), |
|
|
|
new Player("Neun", 60), new Player("Zehn", 50), new Player("Elf", 40), new Player("Zwoelf", 30), |
|
|
|
new Player("Dreizehn", 20), new Player("Vierzehn", 10)), |
|
|
|
"TestPlayer", |
|
|
|
new Player[] {new Player("Eins", 140), new Player("Zwei", 130), new Player("Drei", 120), new Player("Vier", 110), |
|
|
|
new Player("Fuenf", 100), new Player("Sechs", 90), new Player("Sieben", 80), new Player("Acht", 70), |
|
|
|
new Player("Neun", 60), new Player("Zehn", 50)})); |
|
|
|
} |
|
|
|
|
|
|
|
} |