Sha256: a7fbc47e3b235957696888d24279a01efb069e295b847edda505b93111110658

Contents?: true

Size: 680 Bytes

Versions: 4

Compression:

Stored size: 680 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib', 'egor')

require 'test/unit'
require 'environment_feature'

class TestEgorEnvironmentFeature < Test::Unit::TestCase

  include Egor

  def setup
    @env_ftr = EnvironmentFeature.new('Secondary Structure',
                                      'HEPC'.split(''),
                                      'HEPC'.split(''),
                                      'T',
                                      'F')
  end

  def test_to_s
    assert_equal('Secondary Structure;HEPC;HEPC;T;F', @env_ftr.to_s)
  end

  def test_constrained?
    assert(@env_ftr.constrained?)
  end

  def silent?
    assert(!@env_ftr.silent?)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
semin-egor-0.9.0 test/test_egor_environment_feature.rb
semin-egor-0.9.1 test/test_egor_environment_feature.rb
semin-egor-0.9.2 test/test_egor_environment_feature.rb
semin-egor-0.9.3 test/test_egor_environment_feature.rb