Exemplo n.º 1
0
        public void AgeTestMethod2()
        {
            var      AgeStates2      = new AgeStates();
            AgeState ageState2       = AgeState.egg;
            var      expectedResult2 = "egg";

            AgeState result2 = AgeStates.GetAgeState(expectedResult2);

            Assert.AreEqual(ageState2, result2);
        }
Exemplo n.º 2
0
        public void AgeTestMethod3()
        {
            var      AgeStates3      = new AgeStates();
            AgeState ageState3       = AgeState.adult;
            var      expectedResult3 = "adult";

            AgeState result3 = AgeStates.GetAgeState(expectedResult3);

            Assert.AreEqual(ageState3, result3);
        }
Exemplo n.º 3
0
        public void AgeTestMethod()
        {
            var      AgeStates      = new AgeStates();
            AgeState ageState       = AgeState.teen;
            var      expectedResult = "teen";

            AgeState result = AgeStates.GetAgeState(expectedResult);

            Assert.AreEqual(ageState, result);
        }