public void ParserTest_ValidInpString_ShouldMatchValue(string inpString, NormalFlowCriterion expectedValue) => Assert.Equal(expectedValue, SetupProject(inpString).Database.GetOption <NormalFlowOption>().Value);
public void ToInpString_ValidString_ShouldMatchValue(string expectedString, NormalFlowCriterion value) => Assert.Equal(PruneInpString(expectedString, OptionsHeader), new NormalFlowOption(value).ToInpString());
/// <summary> /// Method that converts this <see cref="NormalFlowCriterion"/> into an inp string /// </summary> /// <param name="flowCriterion">This normal flow criterion option</param> /// <returns>Returns: An inp string that corresponds to this value</returns> public static string ToInpString(this NormalFlowCriterion flowCriterion) => flowCriterion switch {