Assertions Practice
It's time to practice with different Assertions. A class has been written for you with some methods. Tests for these methods are already written, but for some reason, they keep failing. Your task is to find out the reason for this. The problem lies in the tests, not the code.
Pay close attention to the expected
and actual
values. This way, you will understand what needs to be used in a specific test case.
Tack för dina kommentarer!
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 4.55
Assertions Practice
Svep för att visa menyn
It's time to practice with different Assertions. A class has been written for you with some methods. Tests for these methods are already written, but for some reason, they keep failing. Your task is to find out the reason for this. The problem lies in the tests, not the code.
Pay close attention to the expected
and actual
values. This way, you will understand what needs to be used in a specific test case.
Tack för dina kommentarer!