Loading

Let’s write the basic tests for our simple isPasswordAllowed function to ensure that both valid and invalid passwords receive the correct return value.

Transcript

Write Unit Tests for a Simple Pure Function