Sha256: efa34bb038afb94489024b39c8cd76e4588fe56b9e6718b69e8064cfcd4c6243

Contents?: true

Size: 682 Bytes

Versions: 17

Compression:

Stored size: 682 Bytes

Contents

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

require 'test/unit'
require 'environment_feature'

class TestEnvironmentFeature < Test::Unit::TestCase

  include Ulla

  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

17 entries across 17 versions & 2 rubygems

Version Path
ulla-0.9.9.2 test/ulla/test_environment_feature.rb
semin-ulla-0.9.3 test/ulla/test_environment_feature.rb
semin-ulla-0.9.4 test/ulla/test_environment_feature.rb
semin-ulla-0.9.5 test/ulla/test_environment_feature.rb
semin-ulla-0.9.6 test/ulla/test_environment_feature.rb
semin-ulla-0.9.7 test/ulla/test_environment_feature.rb
semin-ulla-0.9.8 test/ulla/test_environment_feature.rb
semin-ulla-0.9.9.1 test/ulla/test_environment_feature.rb
semin-ulla-0.9.9 test/ulla/test_environment_feature.rb
ulla-0.9.9.1 test/ulla/test_environment_feature.rb
ulla-0.9.9 test/ulla/test_environment_feature.rb
ulla-0.9.8 test/ulla/test_environment_feature.rb
ulla-0.9.3 test/ulla/test_environment_feature.rb
ulla-0.9.4 test/ulla/test_environment_feature.rb
ulla-0.9.5 test/ulla/test_environment_feature.rb
ulla-0.9.7 test/ulla/test_environment_feature.rb
ulla-0.9.6 test/ulla/test_environment_feature.rb