Sha256: 79a91b41867031cc6c26f8a427d47ae98ec66d98334c1c3a463e4b9d6c47f5c6
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/rand_byte.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/rand_byte.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_rand_byte s = 'ab' r = s.rand_byte assert( r == 97 || r == 98 ) end def test_rand_byte s = 'ab' r = s.rand_byte assert( r == 97 || r == 98 ) assert( s = 'a' || s = 'b' ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.1 | test/lib/facets/core/string/test_rand_byte.rb |