[BioRuby-cvs] bioruby/test/unit/bio/util/restriction_enzyme test_analysis.rb, 1.10, 1.11
Trevor Wennblom
trevor at dev.open-bio.org
Mon Apr 23 19:42:57 UTC 2007
Update of /home/repository/bioruby/bioruby/test/unit/bio/util/restriction_enzyme
In directory dev.open-bio.org:/tmp/cvs-serv23466/test/unit/bio/util/restriction_enzyme
Modified Files:
test_analysis.rb
Log Message:
Support user specification of maximum allowable permutations.
It's becoming apparent that we need some sort of standardized logging mechanism for warnings.
Index: test_analysis.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/util/restriction_enzyme/test_analysis.rb,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_analysis.rb 5 Apr 2007 23:35:44 -0000 1.10
--- test_analysis.rb 23 Apr 2007 19:42:55 -0000 1.11
***************
*** 160,164 ****
assert_equal(["ag", "agccagg", "cag"], Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('ag^ag', 'EcoRII').primary )
assert_equal(["ag", "agccagg", "cag"], Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('ag^ag').primary )
! assert_equal([], Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('EcoRII').primary )
assert_equal(["ag", "ag", "cag", "ccaggt"], Bio::Sequence::NA.new('cagagagccaggt').cut_with_enzymes('ag^ag', 'EcoRII').primary )
--- 160,164 ----
assert_equal(["ag", "agccagg", "cag"], Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('ag^ag', 'EcoRII').primary )
assert_equal(["ag", "agccagg", "cag"], Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('ag^ag').primary )
! assert_equal(:no_cuts_found, Bio::Sequence::NA.new('cagagagccagg').cut_with_enzymes('EcoRII') )
assert_equal(["ag", "ag", "cag", "ccaggt"], Bio::Sequence::NA.new('cagagagccaggt').cut_with_enzymes('ag^ag', 'EcoRII').primary )
***************
*** 170,172 ****
end
! end
\ No newline at end of file
--- 170,172 ----
end
! end
More information about the bioruby-cvs
mailing list