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