~ubuntu-branches/ubuntu/hoary/bioperl/hoary

« back to all changes in this revision

Viewing changes to t/tutorial.t

  • Committer: Bazaar Package Importer
  • Author(s): Matt Hope
  • Date: 2004-04-18 14:24:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040418142411-gr92uexquw4w8liq
Tags: 1.4-1
* New upstream release
* Examples and working code are installed by default to usr/bin,
  this has been moved to usr/share/doc/bioperl/bin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-*-Perl-*- mode
 
2
# $Id: tutorial.t,v 1.1 2003/03/06 18:20:59 jason Exp $
 
3
 
 
4
BEGIN {
 
5
    eval { require Test; };
 
6
    if( $@ ) {
 
7
        use lib 't';
 
8
    }
 
9
    use Test;
 
10
    use vars qw($NUMTESTS);
 
11
    $NUMTESTS = 21;
 
12
    plan tests => $NUMTESTS;
 
13
    @ARGV = (-1);
 
14
    require 'bptutorial.pl';
 
15
}
 
16
 
 
17
END {
 
18
    unlink 'bptutorial.out';
 
19
}
 
20
 
 
21
# run the first 21 tests
 
22
for my $test ( 1..21 ) {
 
23
    ok(&run_examples($test));
 
24
}
 
25
 
 
26