示例#1
0
		public void Ctor_Contract() {

			var result = new WebLink(webLinkContract);

			Assert.IsTrue(result.ContentEquals(webLinkContract), "constructed object is equal to contract");

		}
示例#2
0
        public void ContentEquals_AnotherLink_AreDifferent()
        {
            var copy = new WebLink(webLinkContract);

            var result = copy.ContentEquals(webLinkContract2);

            Assert.IsFalse(result, "are not equal");
        }
示例#3
0
        public void ContentEquals_AnotherLink_AreSame()
        {
            var copy = new WebLink(webLinkContract);

            var result = copy.ContentEquals(webLinkContract);

            Assert.IsTrue(result, "are equal");
        }
示例#4
0
        public void ContentEquals_AnotherLink_AreSame()
        {
            var copy = new WebLink(webLinkContract);

            var result = copy.ContentEquals(webLinkContract);

            Assert.IsTrue(result, "are equal");
        }
示例#5
0
        public void ContentEquals_AnotherLink_AreDifferent()
        {
            var copy = new WebLink(webLinkContract);

            var result = copy.ContentEquals(webLinkContract2);

            Assert.IsFalse(result, "are not equal");
        }
示例#6
0
        public void Ctor_Contract()
        {
            var result = new WebLink(webLinkContract);

            Assert.IsTrue(result.ContentEquals(webLinkContract), "constructed object is equal to contract");
        }