public void Reverse3Test() { var xList = new[] { 123, -120, 0 }; var expecteds = new[] { 321, -21, 0 }; foreach (var(x, expected) in xList.Zip(expecteds)) { ReverseInteger.Reverse3(x).Should().Be(expected); } }
public void Reverse3Test() { var xList = new[] { 123, -120, 0 }; var expecteds = new[] { 321, -21, 0 }; foreach (var(x, expected) in xList.Zip(expecteds)) { ReverseInteger.Reverse3(x).Should().Be(expected); } }