public void UnSupportedOptions() { //deliberate fails PsaraSettingsTests.ExecuteParsingTest("-inclusionmodel byOverlap", false); PsaraSettingsTests.ExecuteParsingTest("-i intervalfile", false); PsaraSettingsTests.ExecuteParsingTest("-RIO wrongname", false); }
/// <summary> ///Just test the enum options, Everything else was well tested through Psara settings tests /// </summary> public void InclusionModelOptionsTest() { var optionExpectations = ByStartPos(); Action <PsaraOptions> expectations = null; foreach (var option in optionExpectations.Values) { expectations += option; } PsaraSettingsTests.ExecuteParsingTest(string.Join(" ", optionExpectations.Keys), true, expectations); optionExpectations = ByExpanded(); expectations = null; foreach (var option in optionExpectations.Values) { expectations += option; } PsaraSettingsTests.ExecuteParsingTest(string.Join(" ", optionExpectations.Keys), true, expectations); }