From the course: Java: Testing with JUnit
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Solution: Create a test method
From the course: Java: Testing with JUnit
Solution: Create a test method
“
- [Instructor] Alright, for this exercise you had to turn them into tests and all we had to do was go ahead and add the annotation at test on top of this method. Now, if we run the code, you can see that this results is correct.