예제 #1
0
        public void VersionNotEquals()
        {
            var version1 = new ProjectVersion(1, 1, 1, 1);
            var version2 = new ProjectVersion(1, 1, 0, 1);

            Assert.IsTrue(!version1.Equals(version2));
        }
예제 #2
0
        public void VersionEqualsWrongObject()
        {
            var version1 = new ProjectVersion(1, 1, 1, 1);

            Assert.IsTrue(!version1.Equals("test"));
        }