Skip to content

Commit

Permalink
Remove deprecated linguistic complexity test
Browse files Browse the repository at this point in the history
  • Loading branch information
blahah committed Jun 6, 2016
1 parent 26a6a25 commit 96934f6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/test_contig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ class TestContig < MiniTest::Test
assert_equal 0, contig.kmer_count(6, "RRRRRRRRRRRRRRRR")
end

should "calculate linguistic complexity for a long sequence" do
alphabet = ["A", "C", "G", "T"]
seq = ""
50000.times do
seq << alphabet.sample
end
seq = Bio::FastaFormat.new ">test\n"+seq
contig = Transrate::Contig.new seq
assert contig.linguistic_complexity(6) > 0.98, "linguistic complexity"
end

should "classify contig" do
assert_equal :bad, @contig.classify(0.5), "contig is not bad"
end
Expand Down

0 comments on commit 96934f6

Please sign in to comment.