Skip to content
Snippets Groups Projects
Commit a137d4cd authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Tests for RegulatoryMotif.pm

parent 2d2a1274
No related branches found
No related tags found
No related merge requests found
use strict;
use Bio::EnsEMBL::Test::TestUtils;
use Bio::EnsEMBL::RegulatoryMotif;
BEGIN { $| = 1;
use Test;
plan tests => 7;
}
my $verbose = 0;
#
# Test constructor
#
my $rm = Bio::EnsEMBL::RegulatoryMotif->new(-NAME => 'Joe',
-TYPE => 'promoter');
ok($rm);
ok(ref($rm));
ok($rm->isa('Bio::EnsEMBL::RegulatoryMotif'));
ok($rm->name eq 'Joe');
ok($rm->type eq 'promoter');
ok(test_getter_setter($rm,'name','Fred'));
ok(test_getter_setter($rm,'type','miRNA_target'));
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment