Exemplo n.º 1
0
 public void ConstructProductVersionWhenProductVersionHasOnly3Fields()
 {
     Assert.AreEqual(
         "1.2.3",
         PublishNuGetPackageTask.ConstructProductVersionStringUsedForNupkg(
             new Version("1.2.3")));
 }
Exemplo n.º 2
0
 public void ConstructProductVersionWhenProductVersionRevisionIs0()
 {
     Assert.AreEqual(
         "1.2.3",
         PublishNuGetPackageTask.ConstructProductVersionStringUsedForNupkg(
             new Version("1.2.3.0")));
 }