public void InEquality_Pass() { TagDiffOptions options = new TagDiffOptions() { SourcePath1 = Path.Combine(Helper.GetPath(Helper.AppPath.testSource), @"unzipped\simple\main.cpp"), SourcePath2 = Path.Combine(Helper.GetPath(Helper.AppPath.testSource), @"unzipped\simple\mainx.cpp"), FilePathExclusions = "none", //allow source under unittest path TestType = "Inequality" }; TagDiffResult.ExitCode exitCode = TagDiffResult.ExitCode.CriticalError; try { TagDiffCommand command = new TagDiffCommand(options); TagDiffResult result = command.GetResult(); exitCode = result.ResultCode; } catch (Exception) { exitCode = TagDiffResult.ExitCode.CriticalError; } Assert.IsTrue(exitCode == TagDiffResult.ExitCode.TestPassed); }