public void TestScript() { var scriptResult = parser.Evaluate(script); if (indicator) { indicator.color = scriptResult == expectedResult ? Color.green : Color.red; } }