Sha256: 6e8b4b716d9afc046b777674e137c750c211c0ffa82d02fad8bfd34b66772da0

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/tsv'
require 'rbbt/tsv/parallel'

class TestTSVParallel < Test::Unit::TestCase

  def test_pthrough
    require 'rbbt/sources/organism'
    tsv = Organism.identifiers("Hsa").tsv :unnamed => true

    h = {}
    tsv.monitor = true
    tsv.pthrough do |k,v|
      h[k] = v.first
    end

    assert h.size > 0
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbbt-util-5.7.0 test/rbbt/tsv/test_parallel.rb