File: test.pl

package info (click to toggle)
libinline-perl 0.43-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 412 kB
  • ctags: 107
  • sloc: perl: 3,584; makefile: 42
file content (15 lines) | stat: -rw-r--r-- 160 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use Test;

BEGIN {
    plan(tests => 2,
	 todo => [],
	 onfail => sub {},
	);
}

use Math::Simple;

ok(add(5, 7) == 12);
ok(subtract(5, 7) == -2);