public void Properties_return_expected_values()
        {
            var pair = new AnnotationValues("old", "new");

            Assert.Equal("old", pair.OldValue);
            Assert.Equal("new", pair.NewValue);
        }
Пример #2
0
 private bool Equals(AnnotationValues other)
 {
     if (object.Equals(this._oldValue, other._oldValue))
     {
         return(object.Equals(this._newValue, other._newValue));
     }
     return(false);
 }
Пример #3
0
 private bool Equals(AnnotationValues other)
 {
     return(Equals(_oldValue, other._oldValue) && Equals(_newValue, other._newValue));
 }
Пример #4
0
 private bool Equals(AnnotationValues other)
 {
     return Equals(_oldValue, other._oldValue) && Equals(_newValue, other._newValue);
 }