public void Test_Leetcode(int input, int expectedResult) { IReverseIntegerSolution solution = new LeedcodeReverseIntegerSolution(); int output = solution.Reverse(input); output.Should().Be(expectedResult); }
public void Perf_Test_Leetcode() { IReverseIntegerSolution solution = new LeedcodeReverseIntegerSolution(); _ = solution.Reverse(Int32.MaxValue / 2); }