zeroclickinfo-goodies/t/Randagram.t

19 lines
400 B
Perl

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Deep;
use DDG::Test::Goodie;
zci answer_type => 'randagram';
zci is_cached => 0;
ddg_goodie_test(
[qw(DDG::Goodie::Randagram)],
'randagram algorithm' => test_zci(re(qr/Randagram of "algorithm": [algorithm]/)),
'randagram jazz hands' => test_zci(re(qr/Randagram of "jazz hands": [jazz hands]/)),
);
done_testing;