public void TestMinValue() { var actualResult = Exercise01.Run(1); Assert.AreEqual("1", actualResult); }
public void TestNegativeValue() { var actualResult = Exercise01.Run(-5); Assert.AreEqual(string.Empty, actualResult); }
public void TestTwoDigitsValue() { var actualResult = Exercise01.Run(11); Assert.AreEqual("1 2 3 4 5 6 7 8 9 10 11", actualResult); }
public void TestInvalidValue() { var actualResult = Exercise01.Run(0); Assert.AreEqual(string.Empty, actualResult); }
public void Test_Exercise1(int input, string expected) { var actualResult = Exercise01.Run(input); actualResult.Should().BeEquivalentTo(expected); }