Sha256: b6504711f61408e55809c75df4dd05c6853008fa90726946d0abc5c2aed8a652
Contents?: true
Size: 588 Bytes
Versions: 39
Compression:
Stored size: 588 Bytes
Contents
require 'spec_helper' describe Galakei::EmojiTable do before do @unicode, @docomo, @softbank, @au = %w[unicode docomo softbank au].map {|s| Galakei::EmojiTable.send(s)} end it "should handle single-character unicode" do @unicode.black_sun_with_rays.should == "\u2600" @docomo.black_sun_with_rays.should == "\uE63E" @softbank.black_sun_with_rays.should == "\uE04A" @au.black_sun_with_rays.should == "\uEF60" end it "should handle multi-character unicode" do @unicode.hash_key.should == "\u{0023 20E3}" @docomo.hash_key.should == "\uE6E0" end end
Version data entries
39 entries across 39 versions & 1 rubygems