Sha256: 73c64f661739e1fbf668877d678cb8eab1f718b64144ba30aeb552e331498d4e
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/string/rand_byte.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/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.0.3 | packages/core/test/lib/facet/string/test_rand_byte.rb |