mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
remove CardHelper class
This commit is contained in:
parent
22e376699e
commit
08197f192c
5 changed files with 27 additions and 99 deletions
|
|
@ -1,27 +0,0 @@
|
|||
package mage.client.util;
|
||||
|
||||
import mage.client.deckeditor.table.CardHelper;
|
||||
import mage.constants.CardType;
|
||||
import mage.view.CardView;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hamcrest.core.Is.is;
|
||||
|
||||
/**
|
||||
* Created by IGOUDT on 3-3-2017.
|
||||
*/
|
||||
public class CardHelperTest {
|
||||
|
||||
@Test
|
||||
public void testCardTypeOrder() {
|
||||
CardView v = new CardView(true);
|
||||
v.getCardTypes().add(CardType.CREATURE);
|
||||
v.getCardTypes().add(CardType.ARTIFACT);
|
||||
String cardtypeText = CardHelper.getType(v);
|
||||
Assert.assertThat(cardtypeText, is("Artifact Creature"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue