public void PathReplaceInvalidChars_InvalidChars() { Assert.AreEqual(ABSOLUTE_FILE, Bio.PathReplaceInvalidChars(INVALID_PATH, "")); var expected = INVALID_PATH.Replace("<", "_").Replace(">", "_"); Assert.AreEqual(expected, Bio.PathReplaceInvalidChars(INVALID_PATH)); }
public void PathReplaceInvalidChars_InvalidFileName() { Assert.AreEqual(ABSOLUTE_FILE, Bio.PathReplaceInvalidChars(INVALID_PATH_FILE_NAME, "")); }
public void PathReplaceInvalidChars_NoInvalidChars_ShouldNotChange() { Assert.AreEqual(ABSOLUTE_FILE, Bio.PathReplaceInvalidChars(ABSOLUTE_FILE)); }
public void PathReplaceInvalidChars_NullArgument_ShouldThrowException() { Assert.AreEqual(null, Bio.PathReplaceInvalidChars(null)); }