Let's Write Tests

We will learn how to write tests that cover one loop and examine them to understand how to make them fit for other use cases.

The bulk of the “interesting” logic in matches() resides in the body of the for loop in the Profile class.

Get hands-on with 1400+ tech skills courses.