public void IsInBetweenTrue() { var sol = new SolutionDay03(); Assert.IsTrue(sol.IsInbetween(1, 3, 2)); Assert.IsTrue(sol.IsInbetween(-3, 0, -2)); Assert.IsTrue(sol.IsInbetween(10, 3, 4)); Assert.IsTrue(sol.IsInbetween(10, -3, -2)); }
public void IsInBetweenFalse() { var sol = new SolutionDay03(); Assert.IsFalse(sol.IsInbetween(1, 2, 3)); }