mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-24 01:58:25 +01:00
Fixed failing PingMedianTest
This commit is contained in:
parent
48ec77c30e
commit
4f3296b416
@ -54,7 +54,7 @@ public class PingMedianTest {
|
||||
List<Integer> collect = testPing.stream().map(DateObj::getValue).sorted().collect(Collectors.toList());
|
||||
|
||||
int expected = (int) Median.forList(collect).calculate();
|
||||
int result = new PingStoreTransaction(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, new ArrayList<>())
|
||||
int result = new PingStoreTransaction(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, testPing)
|
||||
.getMeanValue();
|
||||
|
||||
assertEquals(expected, result);
|
||||
|
Loading…
Reference in New Issue
Block a user