Sha256: e8758ca9f854c596b3431216ede34fe6871d2219f297177f0c67d49fc367bab8

Contents?: true

Size: 255 Bytes

Versions: 34

Compression:

Stored size: 255 Bytes

Contents

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

class TC_Compatibility < Test::Unit::TestCase
  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

34 entries across 34 versions & 3 rubygems

Version Path
ricardoo27-writeexcel-0.6.12.1 test/test_compatibility.rb
writeexcel-0.6.12 test/test_compatibility.rb
writeexcel-0.6.11 test/test_compatibility.rb
writeexcel-0.6.10 test/test_compatibility.rb
writeexcel-0.6.9 test/test_compatibility.rb
writeexcel-0.6.8 test/test_compatibility.rb
writeexcel-0.6.7 test/test_compatibility.rb
writeexcel-0.6.6 test/test_compatibility.rb
writeexcel-0.6.5 test/test_compatibility.rb
writeexcel-0.6.4 test/test_compatibility.rb
writeexcel-0.6.3 test/test_compatibility.rb
writeexcel-0.6.2 test/test_compatibility.rb
writeexcel-0.6.1 test/test_compatibility.rb
writeexcel-0.6.0 test/test_compatibility.rb