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

Mitsuteru C. Nakao nakao at pub.open-bio.org
Wed Nov 23 05:00:56 EST 2005


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

Modified Files:
	test_common.rb 
Log Message:
* Fixed the order of arguments of assert_equal and TestEMBLAPI class.


Index: test_common.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/embl/test_common.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_common.rb	27 Oct 2005 09:37:22 -0000	1.1
--- test_common.rb	23 Nov 2005 10:00:54 -0000	1.2
***************
*** 31,35 ****
  module Bio
  
!   class EMBL_API
      include Bio::EMBLDB::Common
    end
--- 31,36 ----
  module Bio
  
!   # TestClass EMBLDB Inherited 
!   class EMBL_API < EMBLDB
      include Bio::EMBLDB::Common
    end
***************
*** 117,125 ****
  
      def test_ac
!       assert_equal(@obj.ac, ["A12345", "B23456"])
      end
  
      def test_accessions
!       assert_equal(@obj.accessions, ["A12345", "B23456"])
      end
  
--- 118,126 ----
  
      def test_ac
!       assert_equal(["A12345", "B23456"], @obj.ac)
      end
  
      def test_accessions
!       assert_equal(["A12345", "B23456"], @obj.accessions)
      end
  



More information about the bioruby-cvs mailing list