Sha256: 40405a6ac6a843331ae36e94705d23923d128648c62ea8060236703c322d2bf6

Contents?: true

Size: 216 Bytes

Versions: 5

Compression:

Stored size: 216 Bytes

Contents

covers 'facets/string/xor'

test_case String do

  method :'^' do

    test do
      r = "try this out" ^ "puddingsnacks"
      x = "\004\a\035D\035\006\016\000N\016\026\037"
      r.assert == x
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/string/test_xor.rb
facets-3.1.0 test/core/string/test_xor.rb
facets-3.0.0 test/core/string/test_xor.rb
facets-2.9.3 test/core/string/test_xor.rb
facets-2.9.2 test/core/string/test_xor.rb