fix for files with incomplete DCT data
[swftools.git] / spec / transpstack.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do
4   
5   convert_file "transpstack.pdf" do
6         pixel_at(15,15).should_be_of_color 0xffffff
7         pixel_at(4,50).should_be_of_color 0xff0000
8         pixel_at(21,52).should_be_of_color 0x00ff00
9         pixel_at(49,51).should_be_of_color 0x0000ff
10         pixel_at(80,49).should_be_of_color 0x0000ff
11         pixel_at(23,77).should_be_of_color 0x00ff00
12         pixel_at(70,20).should_be_of_color 0x0000ff
13     end
14 end