[BioRuby-cvs] bioruby/test/unit/bio/db/kegg test_genes.rb,1.2,1.3
Mitsuteru C. Nakao
nakao at pub.open-bio.org
Wed Nov 9 08:20:11 EST 2005
Update of /home/repository/bioruby/bioruby/test/unit/bio/db/kegg
In directory pub.open-bio.org:/tmp/cvs-serv31702/test/unit/bio/db/kegg
Modified Files:
test_genes.rb
Log Message:
* Update TestGenesDblinks.
Index: test_genes.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/kegg/test_genes.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_genes.rb 9 Nov 2005 07:58:19 -0000 1.2
--- test_genes.rb 9 Nov 2005 13:20:09 -0000 1.3
***************
*** 40,56 ****
def test_data
! assert_equal(@obj.instance_eval('get("DBLINKS")'), '')
end
def test_dblinks_0
! assert_equal(@obj.dblinks, {})
end
def test_dblinks_1
! assert_equal(@obj.dblinks['TIGR'], ['At3g05560'])
end
def test_dblinks_2
! assert_equal(@obj.dblinks['NCBI-GI'], ['15230008', '42572267'])
end
end
--- 40,57 ----
def test_data
! str = "DBLINKS TIGR: At3g05560\n NCBI-GI: 15230008 42572267"
! assert_equal(str, @obj.instance_eval('get("DBLINKS")'))
end
def test_dblinks_0
! assert_equal(Hash, @obj.dblinks.class)
end
def test_dblinks_1
! assert_equal(['At3g05560'], @obj.dblinks['TIGR'])
end
def test_dblinks_2
! assert_equal(['15230008', '42572267'], @obj.dblinks['NCBI-GI'])
end
end
More information about the bioruby-cvs
mailing list