Sha256: dee1b6eae076da66ec53e4b5255224d9c99c4fd7c47f536f28aee27110381e94

Contents?: true

Size: 492 Bytes

Versions: 8

Compression:

Stored size: 492 Bytes

Contents

# encoding: UTF-8

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

require 'spec_helper'
include TwitterCldr::Normalization

describe Base do
  describe "#combining_class_for" do
    it "returns the correct combining class for select code points" do
      TwitterCldr::Normalization::Base.combining_class_for(0x303).should == 230  # combining tilde
      TwitterCldr::Normalization::Base.combining_class_for(0x6E).should  == 0    # latin letter n
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twitter_cldr-2.4.3 spec/normalization/base_spec.rb
twitter_cldr-3.0.0.beta1 spec/normalization/base_spec.rb
twitter_cldr-2.4.2 spec/normalization/base_spec.rb
twitter_cldr-2.4.1 spec/normalization/base_spec.rb
twitter_cldr-2.4.0 spec/normalization/base_spec.rb
twitter_cldr-2.2.0 spec/normalization/base_spec.rb
twitter_cldr-2.1.1 spec/normalization/base_spec.rb
twitter_cldr-2.1.0 spec/normalization/base_spec.rb