Class ExpShareTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.ExpShareTests
Tests for the Exp. Share
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> Same astestExpShareDoesNotDoubleDipParticipants(BattleTestHelper)but through the EXP All rather than a held Exp.static CompletableFuture<TestResult> static CompletableFuture<TestResult> A participating Pokémon must not also collect the Exp.
-
Constructor Details
-
ExpShareTests
public ExpShareTests()
-
-
Method Details
-
testExpAllDoesNotDoubleDipParticipants
public static CompletableFuture<TestResult> testExpAllDoesNotDoubleDipParticipants(BattleTestHelper helper) Same astestExpShareDoesNotDoubleDipParticipants(BattleTestHelper)but through the EXP All rather than a held Exp. Share, since both feed the same branch when experience is handed out.Turn 1 The lead Tauros uses Body Slam. The Blissey faints. The Magikarp is switched in for the fainted Blissey. - We verify that neither Tauros levelled up, so the experience deltas are comparable. We verify that the benched Tauros received experience from the EXP All. We verify that the lead Tauros received double the benched Tauros's experience, not double plus the share (the double dip).