1 # -*-Perl-*- Test Harness script for Bioperl
6 # this test script tests working within the chromat_dir,phd_dir,edit_dir structure
7 # it also tests the ability of Trim.pm to do its thing
17 test_begin(-tests => 6);
19 use_ok('Bio::Tools::Alignment::Consed');
22 # scope some variables
23 my($o_consed,@singlets,@singletons,@pairs,@doublets,@multiplets,$invoker);
25 # instantiate a new object
26 $o_consed = Bio::Tools::Alignment::Consed->new( -acefile =>test_input_file("consed_project","edit_dir","test_project.fasta.screen.ace.1"));
27 ok ( $o_consed && defined $o_consed, 'create new CSM::Consed object' ) ;
29 # set the verbosity to a valid value (0)
30 my $verbosity = $o_consed->set_verbose(0);
33 isa_ok($o_consed,'Bio::Tools::Alignment::Consed');
36 $invoker = $o_consed->set_singlets("verbosely");
37 ok ( $invoker != 1, 'singlets can be successfully set');
39 ok ( ! $o_consed->set_singlet_quality(), 'singlet quality can be set' );
40 ok ( ! $o_consed->set_trim_points_singlets_and_singletons(), 'singleton/singlet qualities can be set' );
42 # TODO? huh? are these tests really valid, is Trim even being tested here?