Sha256: 6eb2026397e370e13d4fa57d4c0c84af42e894dd96d16c17aac32f38dc963473

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/more/yamlstruct.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

require 'facets/more/yamlstruct.rb'


  require 'test/unit'

  class TC_YAMLStruct < Test::Unit::TestCase

    def setup
      y = %{
        a: 1
        b: 2
        c: 3
      }
      @y = YAMLStruct.new(y)
    end

    def test_001
      assert_equal( 1, @y.a )
      assert_equal( 2, @y.b )
      assert_equal( 3, @y.c )
    end
    
  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/more/test_yamlstruct.rb