public void CantAddThreePlayers() { var sut = new Gameplay(); sut.AddPlayer("Anders"); sut.AddPlayer("Edith"); sut.AddPlayer("Alice"); }
public void CanAddPlayers() { var sut = new Gameplay(); sut.AddPlayer("Anders"); sut.AddPlayer("Edith"); Assert.AreEqual(sut.PlayerOne.NickName, "Anders"); Assert.AreEqual(sut.PlayerTwo.NickName, "Edith"); }
public void CanDoFirstDraw() { var sut = new Gameplay(); sut.AddPlayer("Anders"); sut.AddPlayer("Edith"); Assert.IsTrue(sut.LeftStack.Cards.Count == 0); Assert.IsTrue(sut.RightStack.Cards.Count == 0); sut.Draw(); Assert.IsTrue(sut.LeftStack.Cards.Count == 1); Assert.IsTrue(sut.RightStack.Cards.Count == 1); }