Exemplo n.º 1
0
        public void CheckTotalNumberOfWinsTest()
        {
            // Arrange
            Bets b = new Bets();

            ////version 2 wins
            //string expected = "18";
            ////Act
            //string actual = b.BetsWonOutOfTotal();

            //// version 3 checking for total
            //string expected = "35";
            //// Act
            //string actual = b.BetsWonOutOfTotal();

            // version 3 checking for total
            string expected = "18 wins out of total 35";
            // Act
            string actual = b.BetsWonOutOfTotal();

            // Assert
            Assert.AreEqual(expected, actual, false);
        }