png speed improvement draft
[swftools.git] / spec / circularfill.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do
4
5   convert_file "circularfill.pdf" do
6     pixel_at(194,224).should_be_of_color 0xffffff
7     pixel_at(169,225).should_be_of_color 0xff0000
8     pixel_at(138,225).should_be_of_color 0xffffff
9     pixel_at(72,162).should_be_of_color 0xff0000
10     pixel_at(195,132).should_be_of_color 0xff0000
11     pixel_at(69,132).should_be_of_color 0xffffff
12     pixel_at(310,289).should_be_of_color 0xff0000
13     pixel_at(287,200).should_be_of_color 0xff0000
14     pixel_at(309,161).should_be_of_color 0xff0000
15     pixel_at(287,161).should_be_of_color 0xff0000
16     pixel_at(109,336).should_be_of_color 0xff0000
17     pixel_at(310,306).should_be_of_color 0xff0000
18     pixel_at(282,340).should_be_of_color 0xff0000
19     pixel_at(409,252).should_be_of_color 0xff0000
20     pixel_at(139,310).should_be_of_color 0xffffff
21     pixel_at(312,343).should_be_of_color 0xffffff
22     pixel_at(311,248).should_be_of_color 0xff0000
23     pixel_at(102,228).should_be_of_color 0xff0000
24     pixel_at(374,281).should_be_of_color 0xff0000
25     pixel_at(167,281).should_be_of_color 0xff0000
26     pixel_at(409,285).should_be_of_color 0xffffff
27     pixel_at(166,190).should_be_of_color 0xffffff
28     pixel_at(138,191).should_be_of_color 0xff0000
29   end
30 end