public void AnonAssert_AreEqual_FailsWhenActualValueIsMissing() { var expected = new { Source = "http://www.davidmuto.com/", Prop1 = 1 }; AnonAssert.AreEqual(expected, this._subject); }
public void AnonAssert_AreEqual_FailsWhenSuppliedValueIsMissing() { var expected = new { Source = "http://www.davidmuto.com/", NotFound = "Some Value" }; AnonAssert.AreEqual(expected, this._subject); }
public void AnonAssert_AreEqual_ValidatesExpectedAndActualValues() { var expected = new { Source = "http://www.davidmuto.com/", Prop1 = 1, Prop2 = 2.0 }; AnonAssert.AreEqual(expected, this._subject); }
public void AnonAssert_AreEqual_FailsWhenActualValueIsDifferent() { var expected = new { Source = "http://www.davidmuto.com/", Prop1 = 1, Prop2 = 2 /* Not a double this time... */ }; AnonAssert.AreEqual(expected, this._subject); }