コード例 #1
0
ファイル: Program.cs プロジェクト: hematshah/Labs
        public void testNumberOfProductsWithAnyLetter(String letters, int expected)
        {
            //range(instance)
            var testing = new Lab_20_Northwind_Products.NorthwindTesting();
            // act (method)
            var actual = testing.TestingProductNorthwindWithAnyLetter(letters);

            //assert
            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: hematshah/Labs
        public void  testNumberOfProductsStartingWithP(int expected)
        {
            //range(instance)
            var testing = new Lab_20_Northwind_Products.NorthwindTesting();
            // act (method)
            var actual = testing.TestingProductNorthwind();

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