public void GivenAStringIsTriedToBeParsedAsAVersion(string printed) { DomainVersion version; bool succeed = DomainVersion.TryParse(printed, out version); succeed.TestValue(nameof(succeed)); if (succeed) { version.TestValue(); } }
public void GivenAVersionIsParsedAndStoredIn(string version, string variable) { SpecUtils.TestValue(() => DomainVersion.Parse(version), variable); }
public void GivenAStringIsParsedAsAVersion(string printed) { SpecUtils.TestValueProtected(() => DomainVersion.Parse(printed)); }