mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
fix tests: better float values
This commit is contained in:
parent
c34a2574be
commit
fdae976d58
@ -45,8 +45,8 @@ $values = array(
|
||||
// float data
|
||||
10.5,
|
||||
-10.5,
|
||||
10.5e10,
|
||||
10.6E-10,
|
||||
10.1234567e10,
|
||||
10.7654321E-10,
|
||||
.5,
|
||||
|
||||
// array data
|
||||
@ -120,10 +120,10 @@ string(4) "10.5"
|
||||
string(5) "-10.5"
|
||||
|
||||
-- Iteration 7 --
|
||||
string(12) "105000000000"
|
||||
string(12) "101234567000"
|
||||
|
||||
-- Iteration 8 --
|
||||
string(7) "1.06E-9"
|
||||
string(13) "1.07654321E-9"
|
||||
|
||||
-- Iteration 9 --
|
||||
string(3) "0.5"
|
||||
|
@ -45,8 +45,8 @@ $values = array(
|
||||
// float data
|
||||
10.5,
|
||||
-10.5,
|
||||
10.5e10,
|
||||
10.6E-10,
|
||||
10.1234567e10,
|
||||
10.7654321E-10,
|
||||
.5,
|
||||
|
||||
// null data
|
||||
@ -115,10 +115,10 @@ string(4) "10.5"
|
||||
string(5) "-10.5"
|
||||
|
||||
-- Iteration 7 --
|
||||
string(12) "105000000000"
|
||||
string(12) "101234567000"
|
||||
|
||||
-- Iteration 8 --
|
||||
string(7) "1.06E-9"
|
||||
string(13) "1.07654321E-9"
|
||||
|
||||
-- Iteration 9 --
|
||||
string(3) "0.5"
|
||||
@ -174,4 +174,4 @@ bool(false)
|
||||
|
||||
-- Iteration 23 --
|
||||
string(%d) "Resource id #%d"
|
||||
Done
|
||||
Done
|
Loading…
Reference in New Issue
Block a user