Testing · Junior · Question 72 of 78

Which of these is the best candidate for a unit test?

Explanation

Pure functions with many edge cases are cheap to test thoroughly with unit tests.

Further reading

Problem with a question

Testing · Junior · question 72

Test yourself

Take the Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz