Sha256: ba8a9bde5b55b62bb98c7c876101c858caff10ff929e877f409d829b5242dc02
Contents?: true
Size: 233 Bytes
Versions: 1
Compression:
Stored size: 233 Bytes
Contents
describe Jpeg::Color do let(:g) { 0x00 } let(:rgb) { [0xcc, g, 0xff] } subject { Jpeg::Color.new(*rgb) } its(:g) { is_expected.to eq g } its(:rgb) { is_expected.to eq rgb } its(:to_s) { is_expected.to eq '#cc00ff' } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jpeg-0.7.1 | spec/jpeg/color_spec.rb |