public void WhenToStringIsCalledThenTheDescriptionIsReturned()
        {
            var validDescription = "Some difference or other.";
            var diff             = new StructuralDifference(validDescription);

            Assert.AreEqual(validDescription, diff.ToString());
        }
        public void WhenGetHashCodeIsCalledThenTheHashCodeOfTheUnderlyingStringIsReturned()
        {
            var validDescription = "Some difference or other.";
            var diff             = new StructuralDifference(validDescription);

            Assert.AreEqual(validDescription.GetHashCode(), diff.GetHashCode());
        }
        public void WhenAValidStringIsSuppliedToTheConstructorThenTheDescriptionPropertyIsInitializedProperly()
        {
            var validDescription = "Some difference or other.";
            var diff             = new StructuralDifference(validDescription);

            Assert.AreEqual(validDescription, diff.Description);
        }
 public Boolean TestEquals(StructuralDifference diff1, StructuralDifference diff2)
 {
     return(diff1.Equals(diff2));
 }
 public void WhenToStringIsCalledThenTheDescriptionIsReturned()
 {
     var validDescription = "Some difference or other.";
     var diff = new StructuralDifference(validDescription);
     Assert.AreEqual(validDescription, diff.ToString());
 }
 public void WhenGetHashCodeIsCalledThenTheHashCodeOfTheUnderlyingStringIsReturned()
 {
     var validDescription = "Some difference or other.";
     var diff = new StructuralDifference(validDescription);
     Assert.AreEqual(validDescription.GetHashCode(), diff.GetHashCode());
 }
 public void WhenAValidStringIsSuppliedToTheConstructorThenTheDescriptionPropertyIsInitializedProperly()
 {
     var validDescription = "Some difference or other.";
     var diff = new StructuralDifference(validDescription);
     Assert.AreEqual(validDescription, diff.Description);
 }
 public Boolean TestEquals(StructuralDifference diff1, StructuralDifference diff2)
 {
     return diff1.Equals(diff2);
 }