Class TerrainExtenderTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.TerrainExtenderTests

public class TerrainExtenderTests extends Object
Tests for the Terrain Extender
  • Constructor Details

    • TerrainExtenderTests

      public TerrainExtenderTests()
  • Method Details

    • testTerrainExtenderMakesTerrainFromMovesLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromMovesLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its moves, that terrain lasts eight turns instead of five turns.

      In this test, a Tadbulb that holds a Terrain Extender and knows the moves Electric Terrain and Sleep Talk is on a team with a Flabebe that holds a Terrain Extender and knows the moves Grassy Terrain and Sleep Talk. They face an Aromatisse that holds a Terrain Extender and knows the moves Misty Terrain and Sleep Talk and a Beheeyem that holds a Terrain Extender and knows the moves Psychic Terrain and Sleep Talk.

           Turn 1
           The Tadbulb uses Electric Terrain.
           The Flabebe uses Sleep Talk.
           The Aromatisse uses Sleep Talk.
           The Beheeyem uses Sleep Talk.
           Turn 2
           The Tadbulb uses Sleep Talk.
           The Flabebe uses Grassy Terrain.
           The Aromatisse uses Sleep Talk.
           The Beheeyem uses Sleep Talk.
           Turn 3
           The Tadbulb uses Sleep Talk.
           The Flabebe uses Sleep Talk.
           The Aromatisse uses Misty Terrain.
           The Beheeyem uses Sleep Talk.
           Turn 4
           The Tadbulb uses Sleep Talk.
           The Flabebe uses Sleep Talk.
           The Aromatisse uses Sleep Talk.
           The Beheeyem uses Psychic Terrain.
           -
           After turn 1, we verify that the battlefield has the ElectricTerrain status.
           After turn 1, we verify that the Electric Terrain will last 7 more turns.
           After turn 2, we verify that the battlefield has the GrassyTerrain status.
           After turn 2, we verify that the Grassy Terrain will last 7 more turns.
           After turn 3, we verify that the battlefield has the MistyTerrain status.
           After turn 3, we verify that the Misty Terrain will last 7 more turns.
           After turn 4, we verify that the battlefield has the PsychicTerrain status.
           After turn 4, we verify that the Psychic Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromElectricSurgeLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromElectricSurgeLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, a Pincurchin with its hidden ability Electric Surge that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Splash.

           Turn 0
           The Pincurchin's ability Electric Surge activates and covers the battlefield in Electric Terrain.
           Turn 1
           The Magikarp uses Splash.
           The Pincurchin uses Sleep Talk.
           -
           We verify that the battlefield has the ElectricTerrain status.
           We verify that the Electric Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromGrassySurgeLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromGrassySurgeLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, a Grookey with its hidden abilitiy Grassy Surge that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Splash.

           Turn 0
           The Grookey's ability Grassy Surge activates and covers the battlefield in Grassy Terrain.
           Turn 1
           The Magikarp uses Splash.
           The Grookey uses Sleep Talk.
           -
           We verify that the battlefield has the GrassyTerrain status.
           We verify that the Grassy Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromHadronEngineLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromHadronEngineLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, a Miraidon with its ability Hadron Engine that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Splash.

           Turn 0
           The Miraidon's ability Hadron Engine activates and covers the battlefield in Electric Terrain.
           Turn 1
           The Magikarp uses Splash.
           The Miraidon uses Sleep Talk.
           -
           We verify that the battlefield has the ElectricTerrain status.
           We verify that the Electric Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromMistySurgeLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromMistySurgeLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, a Galarian Weezing with its hidden abilitiy Misty Surge that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Splash.

           Turn 0
           The Galarian Weezing's ability Misty Surge activates and covers the battlefield in Misty Terrain.
           Turn 1
           The Magikarp uses Splash.
           The Galarian Weezing uses Sleep Talk.
           -
           We verify that the battlefield has the MistyTerrain status.
           We verify that the Misty Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromPsychicSurgeLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromPsychicSurgeLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, an Indeedee with its hidden ability Psychic Surge that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Splash.

           Turn 0
           The Indeedee's ability Psychic Surge activates and covers the battlefield in Psychic Terrain.
           Turn 1
           The Magikarp uses Splash.
           The Indeedee uses Sleep Talk.
           -
           We verify that the battlefield has the PsychicTerrain status.
           We verify that the Psychic Terrain will last 7 more turns.
       
    • testTerrainExtenderMakesTerrainFromSeedSowerLastEightTurns

      public static CompletableFuture<TestResult> testTerrainExtenderMakesTerrainFromSeedSowerLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item creates terrain with its abilities, that terrain lasts eight turns instead of five turns.

      In this test, an Arboliva with its ability Seed Sower that holds a Terrain Extender and knows the move Sleep Talk faces a Magikarp that knows the move Tackle.

           Turn 1
           The Magikarp uses Tackle. The Arboliva's ability Seed Sower activates and covers the battlefield in Grassy Terrain.
           The Arboliva uses Sleep Talk.
           -
           We verify that the battlefield has the GrassyTerrain status.
           We verify that the Grassy Terrain will last 7 more turns.