[BioRuby-cvs] bioruby/test/unit/bio/db/kegg test_genes.rb,1.1,1.2

Mitsuteru C. Nakao nakao at pub.open-bio.org
Wed Nov 9 02:58:21 EST 2005


Update of /home/repository/bioruby/bioruby/test/unit/bio/db/kegg
In directory pub.open-bio.org:/tmp/cvs-serv30791/test/unit/bio/db/kegg

Modified Files:
	test_genes.rb 
Log Message:
* Test for dblinks method.


Index: test_genes.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/kegg/test_genes.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_genes.rb	8 Nov 2005 11:07:54 -0000	1.1
--- test_genes.rb	9 Nov 2005 07:58:19 -0000	1.2
***************
*** 39,44 ****
      end
  
      def test_dblinks_1
!       assert_equal(@obj.dblinks['TIGR'], 'At3g05560')
      end
  
--- 39,52 ----
      end
  
+     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
  



More information about the bioruby-cvs mailing list