Beispiel #1
0
            public void ReverseTest_0Return0()
            {
                // arrange
                var LCSolution = new LCProgram();
                var expected   = 0;

                // act
                var actual = LCSolution.Reverse(0);

                // assert
                Assert.AreEqual(expected, actual);
            }
Beispiel #2
0
            public void ReverseTest_Neg123ReturnNeg321()
            {
                // arrange
                var LCSolution = new LCProgram();
                var expected   = -321;

                // act
                var actual = LCSolution.Reverse(-123);

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