Sha256: 0c315a0e6ab5d1d951aacf3cf43bf20d305c73fa85ee96071cca52ff1d2b7297
Contents?: true
Size: 699 Bytes
Versions: 11
Compression:
Stored size: 699 Bytes
Contents
RSpec.describe Magick::ImageList do describe 'images_from_imagelist' do it 'works with identical instances' do expect do img = Magick::Image.new(1, 1) list = Magick::ImageList.new list << img << img res = list.append(false) expect(res.columns).to eq(2) expect(res.rows).to eq(1) end.not_to raise_error expect do img = Magick::Image.new(1, 1) img2 = Magick::Image.new(3, 3) list = Magick::ImageList.new list.concat([img, img2, img, img2, img]) res = list.append(false) expect(res.columns).to eq(9) expect(res.rows).to eq(3) end.not_to raise_error end end end
Version data entries
11 entries across 11 versions & 3 rubygems