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); }
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); }