[BioRuby-cvs] bioruby/test/unit/bio/db test_prosite.rb,NONE,1.1
Mitsuteru C. Nakao
nakao at pub.open-bio.org
Thu Oct 27 13:17:52 EDT 2005
Update of /home/repository/bioruby/bioruby/test/unit/bio/db
In directory pub.open-bio.org:/tmp/cvs-serv9633/test/unit/bio/db
Added Files:
test_prosite.rb
Log Message:
* Intially imported unit test for Bio::PROSITE.
--- NEW FILE: test_prosite.rb ---
#
# test/unit/bio/db/test_prosite.rb - Unit test for Bio::PROSITE
#
# Copyright (C) 2005 Mitsuteru Nakao <n at bioruby.org>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
[...1418 lines suppressed...]
def test_pa2re
assert_equal(@obj.pa2re, '')
end
def test_ma2re
assert_raise(@obj.ma2re, NotImplementedError)
end
def test_self_pa2re
assert(Bio::PROSITE.pattern2re)
end
def test_self_ma2re
assert(Bio::PROSITE.profile2re)
end
end # class TestPROSITE
end
More information about the bioruby-cvs
mailing list