Sha256: 21209191bbc0a02c07065c5e57a6756a8083a08bc9c48c72ca8c9c3cfc4f44c7

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

require 'test_helper'

class TestAlignmotifs < Test::Unit::TestCase
  def test_align_motifs
    assert_equal "test/data/KLF4_f2.pat\t0\tdirect\ntest/data/KLF3_f1.pat\t-4\tdirect\ntest/data/SP1_f1_revcomp.pat\t-1\trevcomp\n", 
      Helpers.align_motifs_output('test/data/KLF4_f2.pat  test/data/KLF3_f1.pat  test/data/SP1_f1_revcomp.pat')
  end
  def test_align_pcm_motifs
    assert_equal "test/data/KLF4_f2.pcm\t0\tdirect\ntest/data/KLF3_f1.pcm\t-4\tdirect\ntest/data/SP1_f1_revcomp.pcm\t-1\trevcomp\n", 
      Helpers.align_motifs_output('--pcm test/data/KLF4_f2.pcm  test/data/KLF3_f1.pcm  test/data/SP1_f1_revcomp.pcm')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
macroape-3.3.6 test/align_motifs_test.rb
macroape-3.3.5 test/align_motifs_test.rb
macroape-3.3.4 test/align_motifs_test.rb