Skip to content

Instantly share code, notes, and snippets.

@theorigin
Created June 23, 2015 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theorigin/0bbce7bfd49dfc159998 to your computer and use it in GitHub Desktop.
Save theorigin/0bbce7bfd49dfc159998 to your computer and use it in GitHub Desktop.
Compare 2 .net objects using http://comparenetobjects.codeplex.com/
var compareResult = new KellermanSoftware.CompareNetObjects.CompareLogic().Compare(actualResult, expectedResult);
Assert.IsTrue(compareResult.AreEqual, compareResult.DifferencesString);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment