Class MemoryTests

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

public class MemoryTests extends Object
Tests for each type of Memory.

Tests for the interaction between Trick and Memories are covered under TrickTests.

  • Constructor Details

    • MemoryTests

      public MemoryTests()
  • Method Details

    • testBugMemoryMakesMultiAttackAndSilvallyBugType

      public static CompletableFuture<TestResult> testBugMemoryMakesMultiAttackAndSilvallyBugType(BattleTestHelper helper)
      If the holder of a Bug Memory uses Multi-Attack, Multi-Attack becomes a Bug-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Bug-type.

      In this test, a Silvally that holds a Bug Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Bug-type.
           We verify that the Silvally's attack is Bug-type.
       
    • testDarkMemoryMakesMultiAttackAndSilvallyDarkType

      public static CompletableFuture<TestResult> testDarkMemoryMakesMultiAttackAndSilvallyDarkType(BattleTestHelper helper)
      If the holder of a Dark Memory uses Multi-Attack, Multi-Attack becomes a Dark-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Dark-type.

      In this test, a Silvally that holds a Dark Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Dark-type.
           We verify that the Silvally's attack is Dark-type.
       
    • testDragonMemoryMakesMultiAttackAndSilvallyDragonType

      public static CompletableFuture<TestResult> testDragonMemoryMakesMultiAttackAndSilvallyDragonType(BattleTestHelper helper)
      If the holder of a Dragon Memory uses Multi-Attack, Multi-Attack becomes a Dragon-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Dragon-type.

      In this test, a Silvally that holds a Dragon Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Dragon-type.
           We verify that the Silvally's attack is Dragon-type.
       
    • testElectricMemoryMakesMultiAttackAndSilvallyElectricType

      public static CompletableFuture<TestResult> testElectricMemoryMakesMultiAttackAndSilvallyElectricType(BattleTestHelper helper)
      If the holder of a Electric Memory uses Multi-Attack, Multi-Attack becomes a Electric-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Electric-type.

      In this test, a Silvally that holds a Electric Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Electric-type.
           We verify that the Silvally's attack is Electric-type.
       
    • testFairyMemoryMakesMultiAttackAndSilvallyFairyType

      public static CompletableFuture<TestResult> testFairyMemoryMakesMultiAttackAndSilvallyFairyType(BattleTestHelper helper)
      If the holder of a Fairy Memory uses Multi-Attack, Multi-Attack becomes a Fairy-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Fairy-type.

      In this test, a Silvally that holds a Fairy Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Fairy-type.
           We verify that the Silvally's attack is Fairy-type.
       
    • testFightingMemoryMakesMultiAttackAndSilvallyFightingType

      public static CompletableFuture<TestResult> testFightingMemoryMakesMultiAttackAndSilvallyFightingType(BattleTestHelper helper)
      If the holder of a Fighting Memory uses Multi-Attack, Multi-Attack becomes a Fighting-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Fighting-type.

      In this test, a Silvally that holds a Fighting Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Fighting-type.
           We verify that the Silvally's attack is Fighting-type.
       
    • testFireMemoryMakesMultiAttackAndSilvallyFireType

      public static CompletableFuture<TestResult> testFireMemoryMakesMultiAttackAndSilvallyFireType(BattleTestHelper helper)
      If the holder of a Fire Memory uses Multi-Attack, Multi-Attack becomes a Fire-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Fire-type.

      In this test, a Silvally that holds a Fire Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Fire-type.
           We verify that the Silvally's attack is Fire-type.
       
    • testFlyingMemoryMakesMultiAttackAndSilvallyFlyingType

      public static CompletableFuture<TestResult> testFlyingMemoryMakesMultiAttackAndSilvallyFlyingType(BattleTestHelper helper)
      If the holder of a Flying Memory uses Multi-Attack, Multi-Attack becomes a Flying-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Flying-type.

      In this test, a Silvally that holds a Flying Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Flying-type.
           We verify that the Silvally's attack is Flying-type.
       
    • testGhostMemoryMakesMultiAttackAndSilvallyGhostType

      public static CompletableFuture<TestResult> testGhostMemoryMakesMultiAttackAndSilvallyGhostType(BattleTestHelper helper)
      If the holder of a Ghost Memory uses Multi-Attack, Multi-Attack becomes a Ghost-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Ghost-type.

      In this test, a Silvally that holds a Ghost Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Ghost-type.
           We verify that the Silvally's attack is Ghost-type.
       
    • testGrassMemoryMakesMultiAttackAndSilvallyGrassType

      public static CompletableFuture<TestResult> testGrassMemoryMakesMultiAttackAndSilvallyGrassType(BattleTestHelper helper)
      If the holder of a Grass Memory uses Multi-Attack, Multi-Attack becomes a Grass-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Grass-type.

      In this test, a Silvally that holds a Grass Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Grass-type.
           We verify that the Silvally's attack is Grass-type.
       
    • testGroundMemoryMakesMultiAttackAndSilvallyGroundType

      public static CompletableFuture<TestResult> testGroundMemoryMakesMultiAttackAndSilvallyGroundType(BattleTestHelper helper)
      If the holder of a Ground Memory uses Multi-Attack, Multi-Attack becomes a Ground-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Ground-type.

      In this test, a Silvally that holds a Ground Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Ground-type.
           We verify that the Silvally's attack is Ground-type.
       
    • testIceMemoryMakesMultiAttackAndSilvallyIceType

      public static CompletableFuture<TestResult> testIceMemoryMakesMultiAttackAndSilvallyIceType(BattleTestHelper helper)
      If the holder of a Ice Memory uses Multi-Attack, Multi-Attack becomes a Ice-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Ice-type.

      In this test, a Silvally that holds a Ice Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Ice-type.
           We verify that the Silvally's attack is Ice-type.
       
    • testPoisonMemoryMakesMultiAttackAndSilvallyPoisonType

      public static CompletableFuture<TestResult> testPoisonMemoryMakesMultiAttackAndSilvallyPoisonType(BattleTestHelper helper)
      If the holder of a Poison Memory uses Multi-Attack, Multi-Attack becomes a Poison-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Poison-type.

      In this test, a Silvally that holds a Poison Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Poison-type.
           We verify that the Silvally's attack is Poison-type.
       
    • testPsychicMemoryMakesMultiAttackAndSilvallyPsychicType

      public static CompletableFuture<TestResult> testPsychicMemoryMakesMultiAttackAndSilvallyPsychicType(BattleTestHelper helper)
      If the holder of a Psychic Memory uses Multi-Attack, Multi-Attack becomes a Psychic-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Psychic-type.

      In this test, a Silvally that holds a Psychic Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Psychic-type.
           We verify that the Silvally's attack is Psychic-type.
       
    • testRockMemoryMakesMultiAttackAndSilvallyRockType

      public static CompletableFuture<TestResult> testRockMemoryMakesMultiAttackAndSilvallyRockType(BattleTestHelper helper)
      If the holder of a Rock Memory uses Multi-Attack, Multi-Attack becomes a Rock-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Rock-type.

      In this test, a Silvally that holds a Rock Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Rock-type.
           We verify that the Silvally's attack is Rock-type.
       
    • testSteelMemoryMakesMultiAttackAndSilvallySteelType

      public static CompletableFuture<TestResult> testSteelMemoryMakesMultiAttackAndSilvallySteelType(BattleTestHelper helper)
      If the holder of a Steel Memory uses Multi-Attack, Multi-Attack becomes a Steel-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Steel-type.

      In this test, a Silvally that holds a Steel Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Steel-type.
           We verify that the Silvally's attack is Steel-type.
       
    • testWaterMemoryMakesMultiAttackAndSilvallyWaterType

      public static CompletableFuture<TestResult> testWaterMemoryMakesMultiAttackAndSilvallyWaterType(BattleTestHelper helper)
      If the holder of a Water Memory uses Multi-Attack, Multi-Attack becomes a Water-type move. If the holder of a Bug Memory has the ability RKS System, their type is changed to Water-type.

      In this test, a Silvally that holds a Water Memory and knows the move Multi-Attack faces a Steelix that knows the move Sleep Talk.

           Turn 1
           Silvally uses Multi-Attack.
           Steelix uses Sleep Talk.
           -
           We verify that the Silvally is Water-type.
           We verify that the Silvally's attack is Water-type.