File: tutorial.t

package info (click to toggle)
bioperl 1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 20,336 kB
  • ctags: 8,476
  • sloc: perl: 119,890; xml: 6,001; lisp: 121; makefile: 57
file content (26 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#-*-Perl-*- mode
# $Id: tutorial.t,v 1.1 2003/03/06 18:20:59 jason Exp $

BEGIN {
    eval { require Test; };
    if( $@ ) {
        use lib 't';
    }
    use Test;
    use vars qw($NUMTESTS);
    $NUMTESTS = 21;
    plan tests => $NUMTESTS;
    @ARGV = (-1);
    require 'bptutorial.pl';
}

END {
    unlink 'bptutorial.out';
}

# run the first 21 tests
for my $test ( 1..21 ) {
    ok(&run_examples($test));
}