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

Mitsuteru C. Nakao nakao at pub.open-bio.org
Thu Feb 23 22:25:32 UTC 2006


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

Modified Files:
	test_report.rb 
Log Message:
* Changed class TestBlastReportHit -> class TestBl2seqReportHit.


Index: test_report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/appl/bl2seq/test_report.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_report.rb	13 Feb 2006 15:51:11 -0000	1.1
--- test_report.rb	23 Feb 2006 22:25:30 -0000	1.2
***************
*** 114,118 ****
  
  
!   class TestBlastReportHit < Test::Unit::TestCase
      def setup
        @empty = Bio::Blast::Bl2seq::Report.new(Bio::TestBl2seqReportData.output('empty'))
--- 114,118 ----
  
  
!   class TestBl2seqReportHit < Test::Unit::TestCase
      def setup
        @empty = Bio::Blast::Bl2seq::Report.new(Bio::TestBl2seqReportData.output('empty'))
***************
*** 122,128 ****
      end
  
!     def test_hits
        assert_equal(0, @empty.hits.size)
  
        assert_equal(Bio::Blast::Bl2seq::Report::Hit, @blastp.hits.first.class)
        assert_equal(1, @blastp.hits.size)
--- 122,130 ----
      end
  
!     def test_empty_hits
        assert_equal(0, @empty.hits.size)
+     end
  
+     def test_hits
        assert_equal(Bio::Blast::Bl2seq::Report::Hit, @blastp.hits.first.class)
        assert_equal(1, @blastp.hits.size)




More information about the bioruby-cvs mailing list