Sha256: 56614d3696be9025e0924469deec967c360acee50dee46f21f6e9b03b0a5c969
Contents?: true
Size: 441 Bytes
Versions: 5
Compression:
Stored size: 441 Bytes
Contents
describe 'UIColor' do it "should have a #uicolor method" do UIColor.redColor.uicolor.should == UIColor.redColor end it "should have a #uicolor(alpha) method" do UIColor.redColor.uicolor(0.5).alpha.should == 0.5 end it "should have a #+(color) method" do new_color = UIColor.whiteColor + UIColor.blackColor new_color.red.should == 0.5 new_color.green.should == 0.5 new_color.blue.should == 0.5 end end
Version data entries
5 entries across 5 versions & 1 rubygems