Class RecycleTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
Recycle can be stolen by Snatch.static CompletableFuture<TestResult>
Recycle cannot restore a burst Air Balloon.static CompletableFuture<TestResult>
Recycle cannot recover items that were destroyed by Incinerate.static CompletableFuture<TestResult>
Recycle cannot recover items that were removed by Knock Off.static CompletableFuture<TestResult>
Recycle can recover items that the Recycle user has thrown with Fling.static CompletableFuture<TestResult>
Recycle can no longer restore items lost via Bug Bite and Pluck.static CompletableFuture<TestResult>
Recycle fails if the user already has a held item.static CompletableFuture<TestResult>
A Pokémon may only have one consumed item at a time; if a Pokémon consumes an item, then obtains another and consumes it, the original consumed item cannot be restored, even if the second item is restored and transferred to another Pokémon.static CompletableFuture<TestResult>
Recycle allows the user to recover a held item that the user had previously consumed during the battle.static CompletableFuture<TestResult>
Recycle can restore the user's Berry if it was consumed via Teatime.static CompletableFuture<TestResult>
If powered up by a Normalium Z into Z-Recycle, the user's Speed stat rises by two stages, then the move itself will fail after obtaining the Z-Power since it won't be possible to restore its own Z-Crystal.
-
Constructor Details
-
RecycleTests
public RecycleTests()
-
-
Method Details
-
testRecycleRecoversPreviouslyConsumedHeldItems
public static CompletableFuture<TestResult> testRecycleRecoversPreviouslyConsumedHeldItems(BattleTestHelper helper) Recycle allows the user to recover a held item that the user had previously consumed during the battle.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Magneton that knows the move Thunder Wave. - Turn 1 The Magneton uses Thunder Wave. The Panpour becomes paralyzed. The Panpour consumes its Lum Berry to remove its Paralysis. The Panpour uses Recycle. The Panpour recovers its Lum Berry. - We verify that the Panpour has a held item. We verify that the Panpour does not have the Paralysis status.
-
testRecycleFailsIfTheUserHasAHeldItem
public static CompletableFuture<TestResult> testRecycleFailsIfTheUserHasAHeldItem(BattleTestHelper helper) Recycle fails if the user already has a held item.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Magneton that knows the move Sleep Talk. - Turn 1 The Magneton uses Sleep Talk. The Panpour uses Recycle. The move fails. - We verify that the Panpour has a held item. We verify that the Panpour's last attack failed.
-
testRecycleOnlyRecoversMostRecentConsumedItem
public static CompletableFuture<TestResult> testRecycleOnlyRecoversMostRecentConsumedItem(BattleTestHelper helper) A Pokémon may only have one consumed item at a time; if a Pokémon consumes an item, then obtains another and consumes it, the original consumed item cannot be restored, even if the second item is restored and transferred to another Pokémon.In this test, a Hydrapple that holds a Lum Berry and knows the moves Sleep Talk, Bug Bite, and Recycle faces a Magneton that holds a Ganlon Berry and knows the moves Thunder Wave, Sleep Talk, and Thief. - Turn 1 The Magneton uses Thunder Wave. The Hydrapple becomes paralyzed. The Hydrapple consumes its Lum Berry to remove its Paralysis. The Hydrapple uses Sleep Talk. Turn 2 The Magneton uses Sleep Talk. The Hydrapple uses Bug Bite and eats the Magneton's Ganlon Berry. Turn 3 The Magneton uses Sleep Talk. The Hydrapple uses Recycle and recovers the Magneton's Ganlon Berry. Turn 4 The Magneton uses Thief. The recycled Ganlon Berry is removed from the Hydrapple and given to the Magneton. The Hydrapple uses Recycle and does not recover a held item. - After turn 1: We verify that the Hydrapple does not have a held item. We verify that the Hydrapple's consumed item is a status-restoring berry. We verify that the Hydrapple does not have the Paralysis status. After turn 2: We verify that the Hydrapple does not have a held item. We verify that the Hydrapple's consumed item is a stat-increasing berry. After turn 3: We verify that the Hydrapple has a held item. We verify that the Hydrapple held item is a berry that increases stats. We verify that the Hydrapple's consumed item is not a stat-increasing berry. After turn 4: We verify that the Magneton has a held item. We verify that the Hydrapple does not have a held item. We verify that the Hydrapple's consumed item is not a stat-increasing berry or a status-restoring berry.
-
testRecycleDoesNotRestoreItemsLostToAnOpponentsBugBite
public static CompletableFuture<TestResult> testRecycleDoesNotRestoreItemsLostToAnOpponentsBugBite(BattleTestHelper helper) Recycle can no longer restore items lost via Bug Bite and Pluck.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Joltik that knows the move Bug Bite. - Turn 1 The Joltik uses Bug Bite and eats the Panpour's Lum Berry. The Panpour uses Recycle. The move fails. - We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is not a berry. We verify that the Joltik's consumed item is a status-restoring berry.
-
testRecycleRestoresBerriesConsumedViaTeatime
public static CompletableFuture<TestResult> testRecycleRestoresBerriesConsumedViaTeatime(BattleTestHelper helper) Recycle can restore the user's Berry if it was consumed via Teatime.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Polteageist that knows the move Bug Bite. - Turn 1 The Polteageist uses Teatime. The Panpour is forced to consume its Lum Berry. The Panpour uses Recycle. The Lum Berry is recovered. - We verify that the Panpour has a held item. We verify that the Panpour's consumed item is not a berry.
-
testRecycleCanBeStolenBySnatch
Recycle can be stolen by Snatch.In this test, a Regenerator Hydrapple that holds a Ganlon Berry and knows the moves Bug Bite and Recycle faces a Heatmor that holds a Lum Berry and knows the moves Bug Bite and Snatch. - Turn 1 The Heatmor uses Bug Bite. The Heatmor eats the Hydrapple's Ganlon Berry. The Hydrapple uses Bug Bite. The Hydrapple eats the Heatmor's Lum Berry. Turn 2 The Heatmor uses Snatch (+4 priority). The Hydrapple uses Recycle. The Heatmor steals the Recycle and recovers a Ganlon Berry. - After turn 1: We verify that the Hydrapple does not have held item. We verify that the Hydrapple's consumed item is a status-restoring berry. We verify that the Heatmor does not have held item. We verify that the Heatmor's consumed item is a stat-increasing berry. After turn 2: We verify that the Hydrapple does not have held item. We verify that the Hydrapple's consumed item is a status-restoring berry. We verify that the Heatmor has held item. We verify that the Heatmor's consumed item is not a stat-increasing berry.
-
testZRecycleFailsButRaisesStats
public static CompletableFuture<TestResult> testZRecycleFailsButRaisesStats(BattleTestHelper helper) If powered up by a Normalium Z into Z-Recycle, the user's Speed stat rises by two stages, then the move itself will fail after obtaining the Z-Power since it won't be possible to restore its own Z-Crystal.In this test, a Panpour that holds a Normalium Z and knows the move Recycle faces a Magneton that knows the move Sleep Talk. - Turn 1 The Magneton uses Sleep Talk. The Panpour uses Recycle. The Panpour's Speed raises by two stages, but the move fails. - We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is a Z-Crystal. We verify that the Panpour's Speed was raised by two stages.
-
testRecycleCannotRestoreKnockedOffItems
public static CompletableFuture<TestResult> testRecycleCannotRestoreKnockedOffItems(BattleTestHelper helper) Recycle cannot recover items that were removed by Knock Off.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Mandibuzz that knows the move Knock Off. - Turn 1 The Mandibuzz uses Knock Off. The Panpour's Lum Berry is removed. The Panpour uses Recycle. The Panpour's Lum Berry is not recovered. - We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is not a berry.
-
testRecycleCannotRestoreIncineratedItems
public static CompletableFuture<TestResult> testRecycleCannotRestoreIncineratedItems(BattleTestHelper helper) Recycle cannot recover items that were destroyed by Incinerate.In this test, a Panpour that holds a Lum Berry and knows the move Recycle faces a Heatmor that knows the move Incinerate. - Turn 1 The Heatmor uses Incinerate. The Panpour's Lum Berry is removed. The Panpour uses Recycle. The Panpour's Lum Berry is not recovered. - We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is not a berry.
-
testRecycleCannotRestoreBurstAirBalloons
public static CompletableFuture<TestResult> testRecycleCannotRestoreBurstAirBalloons(BattleTestHelper helper) Recycle cannot restore a burst Air Balloon.In this test, a Panpour that holds an Air Balloon and knows the move Recycle faces a Heatmor that knows the move Tackle. - Turn 1 The Heatmor uses Tackle. The Panpour's Air Balloon bursts. The Panpour uses Recycle. The Panpour's Air Balloon is not recovered. - We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is not an air balloon.
-
testRecycleCanRecoverItemsTheRecycleUserThrewWithFling
public static CompletableFuture<TestResult> testRecycleCanRecoverItemsTheRecycleUserThrewWithFling(BattleTestHelper helper) Recycle can recover items that the Recycle user has thrown with Fling.In this test, a Panpour that holds a Black Sludge and knows the moves Fling and Recycle faces a Magneton that knows the move Sleep Talk. - Turn 1 The Magneton uses Sleep Talk. The Panpour uses Fling and throws its Black Sludge. Turn 2 The Magneton uses Sleep Talk. The Panpour uses Recycle. The Panpour recovers its Black Sludge. - After turn 1: We verify that the Panpour does not have a held item. We verify that the Panpour's consumed item is Black Sludge. After turn 2: We verify that the Panpour has a held item. We verify that the Panpour's consumed item is not Black Sludge.
-