cpan/Test2-Suite/t/modules/Compare/Bool.t
raw| 1 | use Test2::Bundle::Extended -target => 'Test2::Compare::Bool'; |
| 2 | |
| 3 | my $one = $CLASS->new(input => 'foo'); |
| 4 | is($one->name, '<TRUE (foo)>', "Got name"); |
| 5 | is($one->operator, '==', "Got operator"); |
| 6 | |
| 7 | $one = $CLASS->new(input => 0, negate => 1); |
| 8 | is($one->name, '<FALSE (0)>', "Got name"); |
| 9 | is($one->operator, '!=', "Got operator"); |
| 10 | |
| 11 | done_testing; |