public void Test_HandWorth_Calculator_With_Empty_Hand() { var hand = new List <Card> { }; Assert.Equal(0, ValueCalculator.HandWorth(hand)); }
public void Test_HandWorth_Calculator_With_Hand_And_Ace_Change() { var hand = new List <Card> { new Card(Suit.Club, Rank.Eight), new Card(Suit.Diamond, Rank.Ace) }; Assert.Equal(19, ValueCalculator.HandWorth(hand)); }