Sha256: d93a9abdd020d271ccd62d6af89516fd3fd018f8bdd2f8f10e798152e819cbff
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 Bytes
Contents
require 'spec_helper' sample("ndh2k12_sp113.bmp") do |fname| describe fname do subject{ cli(fname, "-o", "all") } it { should include("%PDF-1.4") } describe "--extract" do subject{ cli(fname, "--extract b1,rgb,lsb,yx") } it { should_not include "%PDF-1.4" } it { subject.size.should == 546750 } end describe "--extract zlib" do subject{ cli(fname, "--extract b1,rgb,lsb,yx,zlib") } it { should include "%PDF-1.4" } it { subject.size.should == 202386 } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zsteg-0.2.13 | spec/zlib_spec.rb |
zsteg-0.2.12 | spec/zlib_spec.rb |