예제 #1
0
        public void Returns_Eleven_if_Divisble_by_Eleven()
        {
            //arrage
            string expected       = "Foo";
            int    input          = 11;
            var    divideByEleven = new DivideByEleven();

            //act
            var actual = divideByEleven.Condition(input);

            //assert
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void Returns_string_empty_if_not_Divisble_by_Eleven()
        {
            //arrage
            string expected       = string.Empty;
            int    input          = 4;
            var    divideByEleven = new DivideByEleven();

            //act
            var actual = divideByEleven.Condition(input);

            //assert
            Assert.AreEqual(expected, actual);
        }