Exemplo n.º 1
0
        public void NotACustomer()
        {
            Survey survey = new Survey();

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

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

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

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

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

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