File: autoload.t

package info (click to toggle)
pdl 2.005-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,200 kB
  • ctags: 3,301
  • sloc: perl: 14,876; ansic: 7,223; fortran: 3,417; makefile: 54; sh: 16
file content (21 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

# Test PDL::AutoLoader

use PDL::LiteF;
use PDL::AutoLoader;

print "1..1\n";

@PDLLIB = ("t/");

$x = long(2 + ones(2,2));

$y = func($x);

if (sum($y) == 4*29) {
   print "ok 1\n";
}
else{
   print "not ok 1\n";
}