Exemple #1
0
		public void Ctor_Contract() {

			var result = new WebLink(webLinkContract);

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

		}
        public void ContentEquals_AnotherLink_AreDifferent()
        {
            var copy = new WebLink(webLinkContract);

            var result = copy.ContentEquals(webLinkContract2);

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

            var result = copy.ContentEquals(webLinkContract);

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

            var result = copy.ContentEquals(webLinkContract);

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

            var result = copy.ContentEquals(webLinkContract2);

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

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