From 2e4464b55890aa2f1fa9b405a0661a1097cbb4ea Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Sat, 13 Oct 2018 11:22:36 +0300 Subject: [PATCH] [Test] Renamed PingInsertProcessorTest methods --- .../processors/player/PingInsertProcessorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plan/src/test/java/com/djrapitops/plan/system/processing/processors/player/PingInsertProcessorTest.java b/Plan/src/test/java/com/djrapitops/plan/system/processing/processors/player/PingInsertProcessorTest.java index 5822fd0b8..050bdc182 100644 --- a/Plan/src/test/java/com/djrapitops/plan/system/processing/processors/player/PingInsertProcessorTest.java +++ b/Plan/src/test/java/com/djrapitops/plan/system/processing/processors/player/PingInsertProcessorTest.java @@ -34,7 +34,7 @@ public class PingInsertProcessorTest { } @Test - public void testMedian() { + public void medianCalculation() { List collect = testPing.stream().map(DateObj::getValue).sorted().collect(Collectors.toList()); int expected = (int) Median.forInt(collect).calculate(); @@ -45,7 +45,7 @@ public class PingInsertProcessorTest { } @Test - public void testMedianSingleEntry() { + public void medianCalculationForSingleEntry() { int expected = 50; int result = new PingInsertProcessor(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, new ArrayList<>(), null) .getMeanValue(Collections.singletonList(new DateObj<>(0, expected))); @@ -54,7 +54,7 @@ public class PingInsertProcessorTest { } @Test - public void testMedianEmpty() { + public void medianCalculationForNoEntries() { int expected = -1; int result = new PingInsertProcessor(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, new ArrayList<>(), null) .getMeanValue(Collections.emptyList());