public void Trick1PointsTesting() { // Arrange List <string> pile = new List <string>() { "CNINE", "CKING", "CNINE", "CQUEEN" }; int trickNumber = 20; int expected = 1; // Act int actual = Points.CalculateTrickPoints(pile, trickNumber); // Assert Assert.AreEqual(expected, actual); }
public void Trick0PointsTesting() { // Arrange List <string> pile = new List <string>() { "CQUEEN", "CJACK", "HNINE", "DNINE" }; int trickNumber = 3; int expected = 0; // Act int actual = Points.CalculateTrickPoints(pile, trickNumber); // Assert Assert.AreEqual(expected, actual); }
public void Trick4PointsTesting() { // Arrange List <string> pile = new List <string>() { "CACE", "CKING", "CKING", "HKING" }; int trickNumber = 5; int expected = 4; // Act int actual = Points.CalculateTrickPoints(pile, trickNumber); // Assert Assert.AreEqual(expected, actual); }