Class TeleportTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.TeleportTests

public class TeleportTests extends Object
Tests for Teleport
  • Constructor Details

    • TeleportTests

      public TeleportTests()
  • Method Details

    • testTeleportNotStoppedByIngrain

      public static CompletableFuture<TestResult> testTeleportNotStoppedByIngrain(BattleTestHelper helper)
      Teleport will succeed regardless of Ingrain.

      In this test, an Exeggcute that knows Ingrain and Teleport faces a Wo-Chien that knows Sleep Talk. The Exeggcute also has an Exeggutor on its team.

           Turn 1
           The Wo-Chien uses Sleep Talk.
           The Exeggcute uses Ingrain.
           Turn 2
           The Wo-Chien uses Sleep Talk.
           The Exeggcute uses Teleport.
           -
           After Turn 1
           We verify that the Exeggcute has the Ingrain status.
           After Turn 2
           We verify that the Exeggcute is not on the battlefield.
           We verify that the Exeggutor is on the battlefield.
       
    • testTeleportEscapesMeanLook

      public static CompletableFuture<TestResult> testTeleportEscapesMeanLook(BattleTestHelper helper)
      Teleport will succeed regardless of trapping moves and Abilities.

      In this test, an Exeggcute that knows Teleport faces a Chi-Yu that knows Mean Look. The Exeggcute also has an Exeggutor on its team.

           Turn 1
           The Chi-Yu uses Mean Look.
           The Exeggcute uses Teleport.
           -
           After Turn 1
           We verify that the Exeggcute is not on the battlefield.
           We verify that the Exeggutor is on the battlefield.
       
    • testTeleportEscapesFairyLock

      public static CompletableFuture<TestResult> testTeleportEscapesFairyLock(BattleTestHelper helper)
      Teleport will succeed regardless of trapping moves and Abilities.

      In this test, an Exeggcute that knows Teleport faces a Klefki that knows Fairy Lock. The Exeggcute also has an Exeggutor on its team.

           Turn 1
           The Klefki uses Fairy Lock.
           The Exeggcute uses Teleport.
           -
           After Turn 1
           We verify that the Exeggcute is not on the battlefield.
           We verify that the Exeggutor is on the battlefield.