I can't get any console output to display for any exercises on the C# track. At the bottom of the instructions for every exercise, it says you can use Console.WriteLine() to display debug messages when a test fails, but I can't get it to display anything. For example, in the Beauty Salon Goes Global exercise, if I define one of the functions like this:
public static DateTime GetAlertTime(DateTime appointment, AlertLevel alertLevel)
{
Console.WriteLine("--- GetAlertTime Called ---");
return new();
}
the output is:
Code Run
Assert.Equal(new DateTime(2019, 07, 24, 16, 0, 0),
Appointment.GetAlertTime(new DateTime(2019, 7, 25, 16, 0, 0),
AlertLevel.Early));
Test Failure
Assert.Equal() Failure: Values differ
Expected: 2019-07-24T16:00:00.0000000
Actual: 0001-01-01T00:00:00.0000000
The string passed to WriteLine is never displayed. Am I missing something here?