Sha256: 20f12297ce55dbf2cb8f0f8ce685e0a20b2424e9e5e0e47df06909bffce30440
Contents?: true
Size: 410 Bytes
Versions: 16
Compression:
Stored size: 410 Bytes
Contents
# Test for facets/symbol/generate require 'facets/symbol/generate.rb' require 'test/unit' class TestSymbol < Test::Unit::TestCase def test_generate_nil assert_equal( :'-1', Symbol.generate ) assert_equal( :'-2', Symbol.generate ) end def test_generate_with_key assert_equal( :'orange-1', Symbol.generate('orange') ) assert_equal( :'orange-2', Symbol.generate('orange') ) end end
Version data entries
16 entries across 16 versions & 1 rubygems