X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=spec%2Fmiterlimit.spec.rb;fp=spec%2Fmiterlimit.spec.rb;h=6241ab9fecc698add3e0d368b7e5e21ff4adb2d2;hb=aa68d639ad8b19770257811b6765cb3b3ba7b16e;hp=0000000000000000000000000000000000000000;hpb=820f9a355fae63700e7b29e992942e8e5dc8c211;p=swftools.git diff --git a/spec/miterlimit.spec.rb b/spec/miterlimit.spec.rb new file mode 100644 index 0000000..6241ab9 --- /dev/null +++ b/spec/miterlimit.spec.rb @@ -0,0 +1,21 @@ +require File.dirname(__FILE__) + '/spec_helper' + +describe "pdf conversion" do + convert_file "miterlimit.pdf" do + pixel_at(451,153).should_be_of_color 0x999999 + pixel_at(492,154).should_be_of_color 0x666666 + pixel_at(523,153).should_be_of_color 0x666666 + pixel_at(386,151).should_be_of_color 0x666666 + pixel_at(86,65).should_be_of_color 0x666666 + pixel_at(80,77).should_be_of_color 0x999999 + pixel_at(77,86).should_be_of_color 0x666666 + pixel_at(474,380).should_be_of_color 0xffffff + pixel_at(492,380).should_be_of_color 0xffffff + pixel_at(452,381).should_be_of_color 0x999999 + pixel_at(450,369).should_be_of_color 0x666666 + pixel_at(376,382).should_be_of_color 0x666666 + pixel_at(89,319).should_be_of_color 0x666666 + pixel_at(119,314).should_be_of_color 0x999999 + pixel_at(142,305).should_be_of_color 0x666666 + end +end