public void ConstructProductVersionWhenProductVersionHasOnly3Fields() { Assert.AreEqual( "1.2.3", PublishNuGetPackageTask.ConstructProductVersionStringUsedForNupkg( new Version("1.2.3"))); }
public void ConstructProductVersionWhenProductVersionRevisionIs0() { Assert.AreEqual( "1.2.3", PublishNuGetPackageTask.ConstructProductVersionStringUsedForNupkg( new Version("1.2.3.0"))); }