Exemple #1
0
 public void TestNumberOfNorthwindCustomers(string city, int expected)
 {
     //Arrange
     // var testInstance = new linq.NorthwindCustomers();
     //Act
     //var actual = testInstance.NumberOfNorthwindCustomers(city);
     //Assert
     Assert.AreEqual(expected, NorthwindCustomers.NumberOfNorthwindCustomers(city));
 }
Exemple #2
0
        public void TestNumberOfCustomersWithPhoneNumber01Or07()
        {
            int expected = 10;

            Assert.AreEqual(expected, NorthwindCustomers.NumberOfCustomersWithPhoneNumber01Or07());
        }
Exemple #3
0
        public void TestNumberOfNorthwindCustomersWithContactTitleOwner()
        {
            int expected = 17;

            Assert.AreEqual(expected, NorthwindCustomers.NumberOfCustomersWithContactTitleOwner());
        }