Debian Codegraph @

t/approx.t

raw
1
2 use warnings;
3 use strict;
4
5 use blib;
6
7 use Test::More;
8
9 use WWW::Search;
10
11 ok(my $o = new WWW::Search('Null'));
12
13 is($o->approximate_result_count, undef);
14 $o->approximate_result_count(3);
15 is($o->approximate_result_count, 3);
16
17 done_testing;
18