Class: TestEnvironment
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- TestEnvironment
- Defined in:
- lib/environment.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
45 46 47 |
# File 'lib/environment.rb', line 45 def setup @env = Environment.new(1, "AHaSon") end |
#test_label_set ⇒ Object
49 50 51 |
# File 'lib/environment.rb', line 49 def test_label_set assert_equal(%w[0A 1H 2a 3S 4o 5n].to_set, @env.label_set) end |
#test_to_s ⇒ Object
53 54 55 |
# File 'lib/environment.rb', line 53 def test_to_s assert_equal("1-AHaSon", @env.to_s) end |