public void ParseTwoNumbers() { Version v = new Version("1.2"); Assert.AreEqual("1.2", v.ToString()); }
public void ParseTextVersion() { Version v = new Version("1.2b3"); Assert.AreEqual("1.2b3", v.ToString()); }
public void ParseDebianVersion2() { Version v = new Version("1.2-3.4d"); Assert.AreEqual("1.2-3.4d", v.ToString()); }
public void ParseSingleNumber() { Version v = new Version("1"); Assert.AreEqual("1", v.ToString()); }
public void ParseDebianVersion() { Version v = new Version("1.2.3-4"); Assert.AreEqual("1.2.3-4", v.ToString()); }