From: Rafael Machado Dohms Date: Sun, 19 Jul 2009 22:16:35 +0000 (+0000) Subject: Adjusting tests to use EXPECTF (faster testing) and adjusting 5_2 version to lack... X-Git-Tag: php-5.2.11RC1~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5045b3697a7e15975e71f6e87baa8ccfe26e331;p=php Adjusting tests to use EXPECTF (faster testing) and adjusting 5_2 version to lack of parameter validation --- diff --git a/ext/gd/tests/imagecolorallocate_variation3.phpt b/ext/gd/tests/imagecolorallocate_variation3.phpt index 6bdf2596da..5b512d2328 100644 --- a/ext/gd/tests/imagecolorallocate_variation3.phpt +++ b/ext/gd/tests/imagecolorallocate_variation3.phpt @@ -55,8 +55,8 @@ $values = array( // float data 'float 10.5' => 10.5, 'float -10.5' => -10.5, - 'float 10.1234567e10' => 10.1234567e10, - 'float 10.7654321E-10' => 10.7654321E-10, + 'float 10.1234567e5' => 10.1234567e5, + 'float 10.7654321E-5' => 10.7654321E-5, 'float .5' => .5, // array data @@ -114,10 +114,10 @@ int(657930) --float -10.5-- int(652810) ---float 10.1234567e10-- -int(217143306) +--float 10.1234567e5-- +int(259815690) ---float 10.7654321E-10-- +--float 10.7654321E-5-- int(655370) --float .5-- diff --git a/ext/gd/tests/imagecolorallocate_variation4.phpt b/ext/gd/tests/imagecolorallocate_variation4.phpt index f170e4ad9d..ce6b6bd86a 100644 --- a/ext/gd/tests/imagecolorallocate_variation4.phpt +++ b/ext/gd/tests/imagecolorallocate_variation4.phpt @@ -114,7 +114,7 @@ int(657930) int(657910) --float 10.1234567e10-- -bool(false) +int(657919) --float 10.7654321E-10-- int(657920)