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");
     }
 }
Beispiel #2
0
 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");
     }
 }
Beispiel #4
0
 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");
     }
 }