public void TestEqual_3Digits()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.1.1", "1.1.1"), 0);
 }
 public void TestInvalid_SameDigitsThirdPosition()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.1.HELLOV@", "1.1.102983ASKDFAS"), 0);
 }
 public void TestInvalid_SameDigits()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.HELLO.0", "1.HELLOV2.0"), 0);
 }
 public void TestBigger_SameDigits()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.1.1", "1.1.0"), 1);
 }
 public void TestSmaller_SameDigits()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.1.0", "1.1.1"), -1);
 }
 public void TestSmaller_DifferentDigits()
 {
     Assert.AreEqual(CompareBuildNumbers.Compare("1.1", "1.1.1"), -1);
 }