From 28c0bd55e855f1293b18d0f265bb5988e6731dbd Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 3 Mar 2021 09:06:39 -0500 Subject: [PATCH] added test for Muraganda Petroglyphs/Tarmogoyf/Muraganda Petroglyphs --- .../single/fut/MuragandaPetroglyphsTest.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/fut/MuragandaPetroglyphsTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/fut/MuragandaPetroglyphsTest.java index 4345d94086..1cbd3ad1a0 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/single/fut/MuragandaPetroglyphsTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/fut/MuragandaPetroglyphsTest.java @@ -212,4 +212,28 @@ public class MuragandaPetroglyphsTest extends CardTestPlayerBase { assertPowerToughness(playerA, "Grizzly Bears", 2, 2); } + + /** + * Quicksilver Gargantuan overwrites Tarmogoyf's P/T and therefore removes its characteristic-definining abilities + */ + @Test + public void cdaTest() { + addCard(Zone.BATTLEFIELD, playerA, "Island", 7); + addCard(Zone.BATTLEFIELD, playerA, "Muraganda Petroglyphs", 1); + addCard(Zone.BATTLEFIELD, playerA, "Tarmogoyf", 1); + addCard(Zone.GRAVEYARD, playerA, "Darksteel Relic"); + addCard(Zone.GRAVEYARD, playerA, "Bitterblossom"); + addCard(Zone.HAND, playerA, "Quicksilver Gargantuan", 1); + + castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Quicksilver Gargantuan"); + + setStopAt(1, PhaseStep.BEGIN_COMBAT); + execute(); + assertAllCommandsUsed(); + + // Graveyard has artifact, enchantment and tribal + assertPowerToughness(playerA, "Tarmogoyf", 3, 4); + // Gargantuan copy overwrites and gets a boost from Petroglyphs + assertPowerToughness(playerA, "Tarmogoyf", 7 + 2, 7 + 2); + } }