public void Cleanup() { if (_testFailed) { TechIo.PrintMessage("Hint 💡", "Check that the vehicle name use the proper format"); } else { TechIo.PrintMessage("Congratulations", "You can move to the next exercise"); } }
public void TestCleanup() { if (_testFailed) { TechIo.PrintMessage("Hint 💡", "Make sure you catch the right type of exception !"); } else { TechIo.PrintMessage("Congratulations", "You can proceed to the next chapter"); } }
public void TestCleanup() { if (_testFailed) { TechIo.PrintMessage("Hint 💡", "Check your implementation of Equals() and GetHashCode() !"); } else { TechIo.PrintMessage("Congratulations", "You can proceed to the next chapter"); } }
public void Cleanup() { if (_testFailed) { // On Failure TechIo.PrintMessage("Hint 💡", "Maybe you should try to pass the argument by reference ? 🤔"); } else { // On success TechIo.PrintMessage("Congratulations", "Continue to the next lesson"); } }