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

Mitsuteru C. Nakao nakao at dev.open-bio.org
Fri Jun 16 16:51:07 UTC 2006


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

Modified Files:
	test_sptr.rb 
Log Message:
* Added a test in test_ft.


Index: test_sptr.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/embl/test_sptr.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_sptr.rb	23 Nov 2005 10:06:12 -0000	1.2
--- test_sptr.rb	16 Jun 2006 16:51:05 -0000	1.3
***************
*** 234,238 ****
        assert(@obj.ft)
        name = 'DNA_BIND'
!       assert_equal([{"FTId"=>nil, "From"=>102, "diff"=>[], "To"=>292, "Description"=>nil}], @obj.ft(name))
      end
  
--- 234,239 ----
        assert(@obj.ft)
        name = 'DNA_BIND'
!       assert_equal([{"FTId"=>"", "From"=>102, "diff"=>[], "To"=>292, "Description"=>""}], @obj.ft(name))
!       assert_equal([{"FTId"=>"", "From"=>102, "diff"=>[], "To"=>292, "Description"=>""}], @obj.ft[name])
      end
  




More information about the bioruby-cvs mailing list