Sha256: 1d95f431b871534b33a6f188151d2031d9a33370adf14e778a2e72aa1d52e6d3

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 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
      Base.combining_class_for(0x303).should == 230  # combining tilde
      Base.combining_class_for(0x6E).should  == 0    # latin letter n
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twitter_cldr-1.8.1 spec/normalization/base_spec.rb
twitter_cldr-1.8.0 spec/normalization/base_spec.rb
twitter_cldr-1.7.0 spec/normalization/base_spec.rb