Sha256: 9323ceaf650ddd087faeb29b9ea290e8ea48d5703d54b3612991d563bd9b36af

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

require 'test/unit'
require 'facet/object/new'

class TC_New < Test::Unit::TestCase

  def test_new
    q = nil
    s = "Testing"
    assert_nothing_raised { q = s.new }
    assert_equal( s, q)
    assert_not_equal( s.object_id, q.object_id )
  end  

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-0.7.0 test/object/tc_new.rb
facets-0.7.1 test/object/tc_new.rb
facets-0.7.2 test/object/tc_new.rb