added test for text selection functionality
[swftools.git] / spec / layers.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do
4     convert_file "layers.pdf" do
5         pixel_at(67,134).should_be_of_color 0x00ffff
6         pixel_at(299,182).should_be_of_color 0x00ffff
7         pixel_at(144,215).should_be_of_color 0x00ffff
8         pixel_at(206,203).should_be_of_color 0x00ffff
9         pixel_at(243,196).should_be_of_color 0x00ffff
10         pixel_at(270,190).should_be_of_color 0x00ffff
11         pixel_at(114,220).should_be_of_color 0x00ffff
12         pixel_at(406,161).should_be_of_color 0x00ffff
13         pixel_at(398,201).should_be_of_color 0x00ffff
14         pixel_at(438,211).should_be_of_color 0x0000ff
15         pixel_at(499,216).should_be_of_color 0xffff00
16         pixel_at(498,223).should_be_of_color 0x00ffff
17         pixel_at(515,175).should_be_of_color 0xffff00
18         pixel_at(458,185).should_be_of_color 0x0000ff
19         pixel_at(541,138).should_be_of_color 0xffff00
20         pixel_at(433,158).should_be_of_color 0x0000ff
21         area_at(431,155,485,212).should_be_plain_colored
22         pixel_at(103,184).should_be_of_color 0x000000
23         pixel_at(505,84).should_be_of_color 0xffff00
24         pixel_at(314,149).should_be_of_color 0xffffff
25     end
26 end