When to use is()
When to use is()
●
Use instead of ok() when you're testing "this equals that".
▶
Yes, there is an isnt() and isn't().
●
is() does a string comparison which 99.99% of the time comes
out right.
▶
cmp_ok() exists to test with specific comparison operators