Пример #1
0
        public void Test_Leetcode(int input, int expectedResult)
        {
            IReverseIntegerSolution solution = new LeedcodeReverseIntegerSolution();

            int output = solution.Reverse(input);

            output.Should().Be(expectedResult);
        }
Пример #2
0
        public void Perf_Test_Leetcode()
        {
            IReverseIntegerSolution solution = new LeedcodeReverseIntegerSolution();

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