Sha256: 4a1a85b00ef7bbaee0a2f7da34e76d714983db5ca43810d23882dc8c614cf253
Contents?: true
Size: 754 Bytes
Versions: 15
Compression:
Stored size: 754 Bytes
Contents
# # test/unit/bio/db/embl/test_uniprot.rb - Unit test for Bio::UniProt # # Copyright:: Copyright (C) 2005 Mitsuteru Nakao <n@bioruby.org> # License:: The Ruby License # # $Id:$ # # loading helper routine for testing bioruby require 'pathname' load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 4, 'bioruby_test_helper.rb')).cleanpath.to_s # libraries needed for the tests require 'test/unit' require 'bio/db/embl/uniprot' module Bio class TestUniProt < Test::Unit::TestCase def setup data = File.read(File.join(BioRubyTestDataPath, 'uniprot', 'p53_human.uniprot')) @obj = Bio::UniProt.new(data) end def test_gene_name assert_equal('TP53', @obj.gene_name) end end end
Version data entries
15 entries across 15 versions & 1 rubygems