Sha256: 16278875d676b808d28cccbcf08c033e2effa39001450cb4ab76c0ea4e94d086

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Base do
  describe "#code_point_to_char" do
    it "converts unicode code points to the actual character" do
      TwitterCldr::Normalizers::Base.code_point_to_char("221E").should == "∞"
    end
  end
  describe "#char_to_code_point" do
    it "converts a character to a unicode code point" do
      TwitterCldr::Normalizers::Base.char_to_code_point("∞").should == "221E"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitter_cldr-1.1.0 spec/normalizers/base_spec.rb