Sha256: 9c4393920455b0d3689bc898aaf16b43f24b59304760a67f0141f5831fe82115

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/knowledge_base/traverse'
require 'rbbt/workflow'

Workflow.require_workflow "Genomics"
class TestKnowledgeBaseTraverse < Test::Unit::TestCase
  def kb
    Genomics.knowledge_base
  end

  def test_traverse
    rules = []
    rules << "SF3B1 pina ?1 - Method=MI:0006"
    rules << "TP53 pina ?1"
    res =  kb.traverse rules
    assert res.first.include? "?1"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbbt-util-5.17.0 test/rbbt/knowledge_base/test_traverse.rb