Sha256: c7c5b04e9e70cbc88e71521e09e4e51eb79ce12177f4d7fe3d261b6d9d4cead5
Contents?: true
Size: 558 Bytes
Versions: 9
Compression:
Stored size: 558 Bytes
Contents
# encoding: UTF-8 module ICU module Normalization # http://bugs.icu-project.org/trac/browser/icu/trunk/source/test/cintltst/cnormtst.c describe "Normalization" do it "should normalize a string - decomposed" do expect(ICU::Normalization.normalize("Å", :nfd).unpack("U*")).to eq([65, 778]) end it "should normalize a string - composed" do expect(ICU::Normalization.normalize("Å", :nfc).unpack("U*")).to eq([197]) end # TODO: add more normalization tests end end # Normalization end # ICU
Version data entries
9 entries across 9 versions & 1 rubygems