1 ## Bioperl Test Harness Script for Modules
4 # Before `make install' is performed this script should be runnable with
5 # `make test'. After `make install' it should work as `perl test.t'
7 #-----------------------------------------------------------------------
8 ## perl test harness expects the following output syntax only!
10 ## ok 1 [not ok 1 (if test fails)]
12 ## ok 2 [not ok 2 (if test fails)]
14 ## ok 3 [not ok 3 (if test fails)]
16 ## etc. etc. etc. (continue on for each tested function in the .t file)
17 #-----------------------------------------------------------------------
20 ## We start with some black magic to print on failure.
21 BEGIN { $| = 1; print "1..1\n"; }
22 END {print "not ok 1\n" unless $loaded;}
25 use Bio::Tools::SeqAnal;
28 print "ok 1\n"; # 1st test passes.
31 ## End of black magic.
33 ## Insert additional test code below but remember to change
34 ## the print "1..x\n" in the BEGIN block to reflect the
35 ## total number of tests that will be run.