public void ConvertUnixToDosPath_InvalidInput_ReturnsOriginalPath() { var _cmdline = "\\\"C:\\Sample\\Path\\To\\Game\\Game.exe\""; var result = String.Equals(ProcessUtils.ConvertUnixToDosPath(_cmdline), _cmdline); Assert.IsTrue(result); }
public void ConvertUnixToDosPath_ValidInput_ReturnsUnique() { var _cmdline = "\\\"C:/Sample/Path/To/Game/Game.exe\""; var result = String.Equals(ProcessUtils.ConvertUnixToDosPath(_cmdline), _cmdline); Assert.IsFalse(result); }