refactor: removed direct counter names usage in some places

This commit is contained in:
Oleg Agafonov 2023-06-12 13:53:15 +04:00
parent 70fa98f492
commit 8f4cc84266
51 changed files with 72 additions and 67 deletions

View file

@ -3,6 +3,7 @@ package org.mage.test.cards.copy;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import mage.counters.CounterType;
import mage.game.permanent.Permanent;
import org.junit.Assert;
import org.junit.Test;
@ -70,7 +71,7 @@ public class VesuvaTest extends CardTestPlayerBase {
Permanent darkDepth = getPermanent("Dark Depths", playerA);
if (darkDepth != null) {
Assert.assertEquals(10, darkDepth.getCounters(currentGame).getCount("ice"));
Assert.assertEquals(10, darkDepth.getCounters(currentGame).getCount(CounterType.ICE));
}
assertTappedCount("Dark Depths", true, 1);
}