Ejemplo n.º 1
0
        public void Test_Naive(int input, int expectedResult)
        {
            IReverseIntegerSolution solution = new NaiveReverseIntegerSolution();

            int output = solution.Reverse(input);

            output.Should().Be(expectedResult);
        }
Ejemplo n.º 2
0
        public void Perf_Test()
        {
            IReverseIntegerSolution solution = new NaiveReverseIntegerSolution();

            _ = solution.Reverse(Int32.MaxValue / 2);
        }