Example #1
0
        public void NotACustomer()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "I haven't made a purchase yet";
            Assert.IsFalse(survey.EstablishedCustomer());
        }
Example #2
0
        public void ThreeOrMoreYears()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "3 or more years";
            Assert.IsTrue(survey.EstablishedCustomer());
        }
Example #3
0
        public void OneToTwoYear()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "1 - 2 years";
            Assert.IsTrue(survey.EstablishedCustomer());
        }
Example #4
0
        public void SixMonthsToYear()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "Six months to a year";
            Assert.IsFalse(survey.EstablishedCustomer());
        }
Example #5
0
        public void LessThanSixMonths()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "Less than six months";
            Assert.IsFalse(survey.EstablishedCustomer());
        }
Example #6
0
        public void FirstPurchase()
        {
            Survey survey = new Survey();

            survey.CustomerHistory = "This is my first purchase";
            Assert.IsFalse(survey.EstablishedCustomer());
        }