Beispiel #1
0
        public void PhoneNumberTestMid()
        {
            //create an instance of a class
            clsCustomer TestCustomer = new clsCustomer();
            //declare testing variable
            Boolean OK;

            //Pass data to the class library for testing
            OK = TestCustomer.ValidInt(1);
            //evaluate return value
            Assert.IsTrue(OK);
        }
Beispiel #2
0
        public void CustomerIDTestMaxPlus1()
        {
            //create an instance of a class
            clsCustomer TestCustomer = new clsCustomer();
            //declare testing variable
            Boolean OK;

            //Pass data to the class library for testing
            OK = TestCustomer.ValidInt(1234567892);
            //evaluate return value
            Assert.IsTrue(OK);
        }