File: clear.t

package info (click to toggle)
libset-object-perl 1.39-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 608 kB
  • sloc: perl: 1,041; makefile: 12
file content (10 lines) | stat: -rw-r--r-- 130 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
use Set::Object;
print "1..1\n";

my $s = Set::Object->new(0..99);

$s->clear;

print "not " unless $s->is_null;
print "ok 1\n";