[BioRuby-cvs] bioruby/test/unit/bio/appl/targetp test_report.rb, 1.1, 1.2

Mitsuteru C. Nakao nakao at pub.open-bio.org
Mon Oct 31 12:59:49 EST 2005


Update of /home/repository/bioruby/bioruby/test/unit/bio/appl/targetp
In directory pub.open-bio.org:/tmp/cvs-serv4139/test/unit/bio/appl/targetp

Modified Files:
	test_report.rb 
Log Message:
* Added test methods.


Index: test_report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/appl/targetp/test_report.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_report.rb	31 Oct 2005 17:53:48 -0000	1.1
--- test_report.rb	31 Oct 2005 17:59:46 -0000	1.2
***************
*** 123,126 ****
--- 123,127 ----
        hash = {"Name"=>"MGI_2141503", "Loc."=>"_", "RC"=>3, "SP"=>0.271,
                "other"=>0.844, "mTP"=>0.161, "cTP"=>0.031, "Length"=>640}
+       assert_equal(@obj.pred, hash)
        assert_equal(@obj.prediction, hash)
      end
***************
*** 142,145 ****
--- 143,150 ----
      def test_query_len
        assert_equal(@obj.query_len, 640)
+     end
+ 
+     def test_length
+       assert_equal(@obj.length, 640)
      end
  



More information about the bioruby-cvs mailing list