X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=code_ruby%2Ftest%2Fmaasha%2Ftest_seq.rb;h=8eed8d5733077915f51c1405537c04170bf028b7;hb=740804b81930af277b29c64f8b8276daff633f44;hp=0c847205cb6bbd06ec7df4cbb6602a654cd22cf0;hpb=c932def8cbb86723bbce9ca79692ebbed59e9528;p=biopieces.git diff --git a/code_ruby/test/maasha/test_seq.rb b/code_ruby/test/maasha/test_seq.rb index 0c84720..8eed8d5 100755 --- a/code_ruby/test/maasha/test_seq.rb +++ b/code_ruby/test/maasha/test_seq.rb @@ -546,26 +546,6 @@ class TestSeq < Test::Unit::TestCase assert_equal(0, @entry.composition["X"]) end - test "#homopol_max returns 0 with empty sequence" do - @entry.seq = "" - assert_equal(0, @entry.homopol_max) - end - - test "#homopol_max returns 0 with nil sequence" do - @entry.seq = nil - assert_equal(0, @entry.homopol_max) - end - - test "#homopol_max returns 0 when not found" do - @entry.seq = "AtTcCcGggGnnNnn" - assert_equal(0, @entry.homopol_max(6)) - end - - test "#homopol_max returns correctly" do - @entry.seq = "AtTcCcGggGnnNnn" - assert_equal(5, @entry.homopol_max(3)) - end - test "#hard_mask returns correctly" do @entry.seq = "--AAAANn" assert_equal(33.33, @entry.hard_mask)