Sha256: de36cd7c4faaf32842ef3501078b8dcdcca4e6f3b0d74fd854b17d111f2dfa52

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

describe "NSData" do

  it "should be able to create a string from data" do
    "test".nsdata.nsstring.should == "test"
  end

  it "should be able to create a unicode string from data" do
    "t\u0113st".nsdata.nsstring.should == "t\u0113st"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sugarcube-0.16 spec/nsdata_spec.rb