fix crashes reported by Debian Cylab Mayhem Team
[swftools.git] / spec / miterlimit.spec.rb
blob2e1fa6f592d0e03745f247743870fb97b322f918
1 require File.dirname(__FILE__) + '/spec_helper'
3 describe "pdf conversion" do
4   
5   convert_file "miterlimit.pdf" do
6     pixel_at(451,153).should_be_of_color 0x999999
7     pixel_at(492,154).should_be_of_color 0x666666
8     pixel_at(523,153).should_be_of_color 0x666666
9     pixel_at(386,151).should_be_of_color 0x666666
10     pixel_at(86,65).should_be_of_color 0x666666
11     pixel_at(80,77).should_be_of_color 0x999999
12     pixel_at(77,86).should_be_of_color 0x666666
13     pixel_at(474,380).should_be_of_color 0xffffff
14     pixel_at(492,380).should_be_of_color 0xffffff
15     pixel_at(452,381).should_be_of_color 0x999999
16     pixel_at(450,369).should_be_of_color 0x666666
17     pixel_at(376,382).should_be_of_color 0x666666
18     pixel_at(89,319).should_be_of_color 0x666666
19     pixel_at(119,314).should_be_of_color 0x999999
20     pixel_at(142,305).should_be_of_color 0x666666
21   end
22 end