public void CheckGold(RecoveryAlgorithm recoveryAlgorithm) { if (TestSuite.TestState == TestState.Ignored) { return; } var gold = Gold; var parseTree = (ParseTree)_file.GetParseTree(); var prettyPrintResult = parseTree.ToString(PrettyPrintOptions.DebugIndent | PrettyPrintOptions.MissingNodes); PrettyPrintResult = prettyPrintResult; TestState = gold == prettyPrintResult ? TestState.Success : TestState.Failure; }