public void NextPatchVersion_ShouldIncreasePatch() { var version = new SemanticVersion(1, 0, 1); Assert.Equal(new SemanticVersion(1, 0, 2), version.NextPatchVersion()); }
public void NextPatchVersion_ShouldRemovePrereleaseTag() { var version = new SemanticVersion(1, 0, 0, "test"); Assert.Equal(new SemanticVersion(1, 0, 0), version.NextPatchVersion()); }