@@ -14,36 +14,36 @@ use Tester\Assert;
14
14
require __DIR__ . '/../bootstrap.php ' ;
15
15
16
16
17
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
18
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha2.png ' ), 0 , 0 , 100 );
17
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
18
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha2.png ' ), 0 , 0 , 100 );
19
19
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.100.png ' ), $ image ->toString (Image::PNG , 0 ));
20
20
21
21
22
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
23
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha2.png ' ), 0 , 0 , 99 );
22
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
23
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha2.png ' ), 0 , 0 , 99 );
24
24
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.99.png ' ), $ image ->toString (Image::PNG , 0 ));
25
25
26
26
27
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
28
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha2.png ' ), 0 , 0 , 50 );
27
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
28
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha2.png ' ), 0 , 0 , 50 );
29
29
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.50.png ' ), $ image ->toString (Image::PNG , 0 ));
30
30
31
31
32
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
33
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha2.png ' ), 0 , 0 , 1 );
32
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
33
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha2.png ' ), 0 , 0 , 1 );
34
34
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.1.png ' ), $ image ->toString (Image::PNG , 0 ));
35
35
36
36
37
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
38
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha2.png ' ), 0 , 0 , 0 );
37
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
38
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha2.png ' ), 0 , 0 , 0 );
39
39
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.0.png ' ), $ image ->toString (Image::PNG , 0 ));
40
40
41
41
42
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
43
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha3.gif ' ), 0 , 0 , 100 );
42
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
43
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha3.gif ' ), 0 , 0 , 100 );
44
44
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.100b.png ' ), $ image ->toString (Image::PNG , 0 ));
45
45
46
46
47
- $ image = Image::fromFile (__DIR__ . '/images/alpha1.png ' );
48
- $ image ->place (Image::fromFile (__DIR__ . '/images/alpha3.gif ' ), 0 , 0 , 50 );
47
+ $ image = Image::fromFile (__DIR__ . '/fixtures. images/alpha1.png ' );
48
+ $ image ->place (Image::fromFile (__DIR__ . '/fixtures. images/alpha3.gif ' ), 0 , 0 , 50 );
49
49
Assert::same (file_get_contents (__DIR__ . '/expected/Image.alpha2.50b.png ' ), $ image ->toString (Image::PNG , 0 ));
0 commit comments