public void TestSet(string version1, string version2, int expected) { Assert.AreEqual(expected, vm.CompareVersion(version1, version2)); }
public void 한자리Version비교가가능하다() { Assert.AreEqual(1, vm.CompareVersion("2", "1")); }
public void 한자리숫자의버전을비교할수있다_동일() { Assert.AreEqual(0, vManager.CompareVersion("1", "1")); }
public void Example1() { Assert.AreEqual(-1, vm.CompareVersion("0.1", "1.1")); }