public Game(List <Player> players, int countOfDecks = 8) { Players = players; drawer = new Drawer(); Croupier = new Croupier(); Machine = new ShuffleMachine(countOfDecks); Machine.Shuffle(); }
public void ShuffleTest() { ShuffleMachine machine = new ShuffleMachine(); machine.Shuffle(); Assert.IsFalse(machine.TrowCard() == new Card(0, 1)); Assert.IsFalse(machine.TrowCard() == new Card(1, 2)); Assert.Pass(); }