Exemplo n.º 1
0
        public void Price_MiltipleDifferentAndDoubleBooks_ShouldReturnDiscountedPrice(double expected, int[] books)
        {
            // Arrange
            // Act
            double actual = Bookstore.Price(books);

            // Assert
            Assert.Equal(expected, actual);
        }
Exemplo n.º 2
0
        public void Price_OneOrZeroBooks_ShouldReturn0Or8(double expected, int[] books)
        {
            // Arrange
            // Act
            double actual = Bookstore.Price(books);

            // Assert
            Assert.Equal(expected, actual);
        }