예제 #1
0
        public void TestNumberOfNorthwindProductsWithUnitPriceOver20()
        {
            int expected = 37;

            Assert.AreEqual(expected, NorthwindProducts.NumberOfNorthwindProductsWithUnitPriceOver20());
        }
예제 #2
0
        public void TestNumberOfNorthwindProductsThatAreDiscontinued()
        {
            int expected = 8;

            Assert.AreEqual(expected, NorthwindProducts.NumberOfNorthwindProductsThatAreDiscontinued());
        }
예제 #3
0
        public void TestNumberOfNorthwindProductsWithCategoryID1()
        {
            int expected = 12;

            Assert.AreEqual(expected, NorthwindProducts.NumberOfNorthwindProductsWithCategoryID1());
        }