[BioRuby-cvs] bioruby/test/unit/bio test_sequence.rb,1.7,1.8

Trevor Wennblom trevor at dev.open-bio.org
Thu Apr 5 23:10:11 UTC 2007


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

Modified Files:
	test_sequence.rb 
Log Message:
Integrate Toshiaki's improvements of to_re in Bio::Sequence::NA

Index: test_sequence.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/test_sequence.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_sequence.rb	5 Apr 2007 17:12:00 -0000	1.7
--- test_sequence.rb	5 Apr 2007 23:10:09 -0000	1.8
***************
*** 191,199 ****
  
      def test_dna_to_re
!       assert_equal(/atgc[ag][tc][ac][tg][atg][atc][agc][tgc][gc][at][atgc]/, Sequence::NA.new('atgcrymkdhvbswn').to_re)
      end
  
      def test_rna_to_re
!       assert_equal(/augc[ag][uc][ac][ug][aug][auc][agc][ugc][gc][au][augc]/, Sequence::NA.new('augcrymkdhvbswn').to_re)
      end
  
--- 191,199 ----
  
      def test_dna_to_re
!       assert_equal(/atgc[agr][tcy][acm][tgk][atgrwkd][atcwmyh][agcmrsv][tgcyskb][gcw][atw][atgcyrwskmbdhvn]/, Sequence::NA.new('atgcrymkdhvbswn').to_re)
      end
  
      def test_rna_to_re
!       assert_equal(/augc[agr][ucy][acm][ugk][augrwkd][aucwmyh][agcmrsv][ugcyskb][gcw][auw][augcyrwskmbdhvn]/, Sequence::NA.new('augcrymkdhvbswn').to_re)
      end
  




More information about the bioruby-cvs mailing list