Sha256: 9c1835e2959bb98c1acf1a4b9171841a461fb3d98f5bb30922add379bf5bd804

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'nkf'

class TC_Compatibility < Minitest::Test
  def test_ord
    a = 'a'
    abc = 'abc'
    assert_equal(97, a.ord, "#{a}.ord faild\n")
    assert_equal(97, abc.ord, "#{abc}.ord faild\n")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
writeexcel-1.0.9 test/test_compatibility.rb
writeexcel-1.0.8 test/test_compatibility.rb
writeexcel-1.0.7 test/test_compatibility.rb
writeexcel-1.0.6 test/test_compatibility.rb