Skip to content

Instantly share code, notes, and snippets.

@isidore
Created June 18, 2014 08:51
Show Gist options
  • Save isidore/e5d3399536777a5af55d to your computer and use it in GitHub Desktop.
Save isidore/e5d3399536777a5af55d to your computer and use it in GitHub Desktop.
StatePrinter
public void TestVerifyCircleReferences()
{
StatePrinterApprovals.Verify(anyObject);
}
Can produce output like
Root = <Turtle>, ref: 0
{
Name = "jim"
On = <Turtle>
{
Name = "kasper"
On = <Turtle>
{
Name = "llewellyn"
On = -> 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment