File: foo.t

package info (click to toggle)
libffi-platypus-perl 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,860 kB
  • sloc: perl: 7,388; ansic: 6,862; cpp: 53; sh: 19; makefile: 14
file content (9 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
use Test2::V0;
use Foo;

my $foo = Foo->new("platypus", 10);
isa_ok $foo, 'Foo';
is $foo->name, "platypus";
is $foo->value, 10;

done_testing;