[BioRuby-cvs] bioruby/test/unit/bio/shell/plugin test_seq.rb, 1.7, 1.8

Katayama Toshiaki k at dev.open-bio.org
Sun Dec 24 09:30:25 UTC 2006


Update of /home/repository/bioruby/bioruby/test/unit/bio/shell/plugin
In directory dev.open-bio.org:/tmp/cvs-serv609/test/unit/bio/shell/plugin

Modified Files:
	test_seq.rb 
Log Message:
* seq command is changed to getseq, and the returned object is changed from
  Bio::Sequence::NA to Bio::Sequence with @moltype = Bio::Sequence::NA


Index: test_seq.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/shell/plugin/test_seq.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_seq.rb	27 Feb 2006 09:40:13 -0000	1.7
--- test_seq.rb	24 Dec 2006 09:30:23 -0000	1.8
***************
*** 41,47 ****
      def test_naseq
        str = 'ACGT'
!       assert_equal(Bio::Sequence::NA, seq(str).class)
!       assert_equal(Bio::Sequence::NA.new(str), seq(str))
!       assert_equal('acgt', seq(str))
      end
  
--- 41,47 ----
      def test_naseq
        str = 'ACGT'
!       assert_equal(Bio::Sequence, getseq(str).class)
!       assert_equal(Bio::Sequence::NA, getseq(str).moltype)
!       assert_equal('acgt', getseq(str).seq)
      end
  
***************
*** 49,55 ****
      def test_aaseq
        str = 'WD'
!       assert_equal(Bio::Sequence::AA, seq(str).class)
!       assert_equal(Bio::Sequence::AA.new('WD'), seq(str))
!       assert_equal('WD', seq(str))
      end
  
--- 49,55 ----
      def test_aaseq
        str = 'WD'
!       assert_equal(Bio::Sequence, getseq(str).class)
!       assert_equal(Bio::Sequence::AA, getseq(str).moltype)
!       assert_equal('WD', getseq(str).seq)
      end
  




More information about the bioruby-cvs mailing list