import static fr.umlv.card.Suit.*;
import fr.umlv.card.Deck;
public class Main {
public static void main(String[] args) {
Deck deck1 = Deck.fromCardsNumberAndColors(2, 2, SPADE, HEART);
System.out.println(deck1.getCardsList());
try {
Deck deck2 = deck1.split()[0];
Deck deck3 = deck1.split()[1];
System.out.println(deck2.getCardsList());
System.out.println(deck3.getCardsList());
} catch (Exception e) {
System.out.println(e);
}
}