[Test] public void LoggingOnFailure() { status s = x[false]?[done(log && "Testing")]; // Question mark indicates we don't know the subtask managed by this // decorator just yet o(TraceFormat.LogTrace(s.trace), "<D> Bear ?"); }
[Test] public void LoggingOnSuccess() { status s = x[true]?[done(log && "Testing")]; // Question mark drops because we just don't format the target object // on success (since it gets evaluated, it has its own format phase) o(TraceFormat.LogTrace(s.trace), "<D> Bug -> TestConditional.LoggingOnSuccess (Testing)"); }