Exemplo n.º 1
0
        //[InlineData(2147483647, 0)]
        public void CanReverseIntTheory(int input, int expected)
        {
            IntegerReverse testReverse = new IntegerReverse();
            int            tested      = testReverse.Reverse(input);

            Assert.Equal(expected, tested);
        }
Exemplo n.º 2
0
        public void CanReverseInt()
        {
            int            test        = 23456;
            IntegerReverse testReverse = new IntegerReverse();
            int            testedInt   = testReverse.Reverse(test);

            Assert.Equal(65432, testedInt);
        }