Sha256: 76ee12a8f70a756b1088539d381741fd0fb584ffa1c3cb0e34b0d0dee2ac3ba1

Contents?: true

Size: 189 Bytes

Versions: 6

Compression:

Stored size: 189 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.to_a )
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_bytes.rb
facets-2.8.3 test/core/string/test_bytes.rb
facets-2.8.2 test/core/string/test_bytes.rb
facets-2.8.1 test/core/string/test_bytes.rb
facets-2.8.0 test/core/string/test_bytes.rb
facets-2.7.0 test/core/string/test_bytes.rb