public void HandsCardsCanBeRead() { var expectedFirstHand = new string[] { "HA", "H2", "H3", "H4", "H5" }; var expectedSecondHand = new string[] { "CA", "C2", "C3", "C4", "C5" }; var pockerGame = new PokerGame(expectedFirstHand, expectedSecondHand); Assert.Equal(5, pockerGame.FirstHand.Length); Assert.Equal(5, pockerGame.SecondHand.Length); Assert.Equal(new string[] { "HA", "H2", "H3", "H4", "H5" }, pockerGame.FirstHand); Assert.Equal(new string[] { "CA", "C2", "C3", "C4", "C5" }, pockerGame.SecondHand); }
// [InlineData(new string[] { "H10" }, new string[] { "HQ" }, "SecondHand")] public void HandsCardsCanBeRead_AndComparedByCard_Successfull_(string[] firstHand, string[] secondHand, string winner) { var pockerGame = new PokerGame(firstHand, secondHand); Assert.Equal(winner, pockerGame.Winner); }