@@ -66,7 +66,7 @@ public function testGetAnimation() {
6666 $ this ->anim ->addFrame ($ this ->frame2 );
6767
6868 $ animData = $ this ->anim ->getAnimation ();
69- $ this ->assertEquals (20936 , strlen ($ animData ), 'Animation binary size should be int(20936 ) ' );
69+ $ this ->assertEquals (20901 , strlen ($ animData ), 'Animation binary size should be int(20901 ) ' );
7070 }
7171
7272 public function testSave () {
@@ -76,7 +76,7 @@ public function testSave() {
7676 $ saveResult = $ this ->anim ->save ();
7777 $ this ->assertEquals (true , $ saveResult , 'Save result should be true ' );
7878 $ this ->assertEquals (true , file_exists (self ::$ outFilePath ), 'File " ' .self ::$ outFilePath .'" should exist after saving ' );
79- $ this ->assertEquals (20936 , filesize (self ::$ outFilePath ), 'Animation binary size should be int(20936 ) ' );
79+ $ this ->assertEquals (20901 , filesize (self ::$ outFilePath ), 'Animation binary size should be int(20901 ) ' );
8080 $ imageInfo = getimagesize (self ::$ outFilePath );
8181 $ this ->assertEquals (100 , $ imageInfo [0 ], 'Saved image width should be int(100) ' );
8282 $ this ->assertEquals (120 , $ imageInfo [1 ], 'Saved image height should be int(120) ' );
@@ -93,7 +93,7 @@ public function testSerializeUnserialize() {
9393 $ saveResult = $ this ->anim ->save ();
9494 $ this ->assertEquals (true , $ saveResult , 'Save result should be true ' );
9595 $ this ->assertEquals (true , file_exists (self ::$ outFilePath ), 'File " ' .self ::$ outFilePath .'" should exist after saving ' );
96- $ this ->assertEquals (20936 , filesize (self ::$ outFilePath ), 'Animation binary size should be int(20936 ) ' );
96+ $ this ->assertEquals (20901 , filesize (self ::$ outFilePath ), 'Animation binary size should be int(20901 ) ' );
9797 $ imageInfo = getimagesize (self ::$ outFilePath );
9898 $ this ->assertEquals (100 , $ imageInfo [0 ], 'Saved image width should be int(100) ' );
9999 $ this ->assertEquals (120 , $ imageInfo [1 ], 'Saved image height should be int(120) ' );
0 commit comments