Sha256: 65a25c764f6a732e854a6f1b2b1bed5713f11efff661c3122c5894549e378495

Contents?: true

Size: 184 Bytes

Versions: 8

Compression:

Stored size: 184 Bytes

Contents

require 'facets/string/bytes'
require 'test/unit'

class TC_String_Bytes < Test::Unit::TestCase

  def test_bytes
    s = "abc"
    assert_equal( s.unpack('C*'), s.bytes )
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
facets-2.6.0 test/core/string/test_bytes.rb
facets-2.4.3 test/core/string/test_bytes.rb
facets-2.4.4 test/core/string/test_bytes.rb
facets-2.4.2 test/core/string/test_bytes.rb
facets-2.5.0 test/core/string/test_bytes.rb
facets-2.5.1 test/core/string/test_bytes.rb
facets-2.4.5 test/core/string/test_bytes.rb
facets-2.5.2 test/core/string/test_bytes.rb