예제 #1
0
        public void Test_Selection_Method_Input_Greater_Than_5()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(6);

            Assert.That(result, Is.EqualTo("The World Is Yours"));
        }
예제 #2
0
        public void Test_Selection_Method_Returns_StayHome()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(0);

            Assert.That(result, Is.EqualTo("Stay Home"));
        }
예제 #3
0
        public void Test_Selection_Method_Returns_PutInBay()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(1);

            Assert.That(result, Is.EqualTo("Put In Bay"));
        }
예제 #4
0
        public void Test_Selection_Method_Returns_Nashville()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(2);

            Assert.That(result, Is.EqualTo("Nashville"));
        }
예제 #5
0
        public void Test_Selection_Method_Returns_Florida()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(3);

            Assert.That(result, Is.EqualTo("Florida"));
        }
예제 #6
0
        public void Test_Selection_Method_Returns_Georgia()
        {
            var trav   = new TravelTDD();
            var result = trav.Selection(4);

            Assert.That(result, Is.EqualTo("Georgia"));
        }