public void CleanTwoAlpha() { // Arrange var target = new Routing(); var actual = target.Clean("ab"); //Expected var expected = ""; // Assert Assert.AreEqual(expected, actual); }
public void CleanTwoNumerical() { // Arrange var target = new Routing(); var actual = target.Clean("12"); //Expected var expected = "12"; // Assert Assert.AreEqual(expected, actual); }
public void CleanTwoTrailingDelimitersNumeric() { // Arrange var target = new Routing(); var actual = target.Clean("1+-"); // Expected var expected = "1"; // Assert Assert.AreEqual(expected, actual); }
public void CleanEmptyInput() { // Actual var target = new Routing(); var actual = target.Clean(""); // Expected var expected = ""; // Assert Assert.AreEqual(expected, actual); }
public void CleanOneDelimiterTrailiing() { // Arrange var target = new Routing(); var actual = target.Clean("1-"); //Expected var expected = "1"; // Assert Assert.AreEqual(expected, actual); }
public void CleanrTwoDelimitersSame() { // Arrange var target = new Routing(); var actual = target.Clean("--"); //Expected var expected = ""; // Assert Assert.AreEqual(expected, actual); }
public void CleanOneNumericalOneAlpha() { // Arrange var target = new Routing(); var actual = target.Clean("1a"); //Expected var expected = "1"; // Assert Assert.AreEqual(expected, actual); }