I'm ok, you're ok
I'm ok, you're ok
#!/usr/bin/perl -w
use Test::Simple tests => 1;
ok( 1 + 1 == 2 );
●
"ok" is the backbone of Perl testing.
▶
If the expression is true, the test pass.
▶
False, it fails.
●
Every conceivable test can be performed just using ok().