diff options
Diffstat (limited to 'php/test')
-rw-r--r-- | php/test/Ice/operations/Client.php | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/php/test/Ice/operations/Client.php b/php/test/Ice/operations/Client.php index 85e4fa5bf7f..f5579a24a37 100644 --- a/php/test/Ice/operations/Client.php +++ b/php/test/Ice/operations/Client.php @@ -182,6 +182,27 @@ function twoways($communicator, $p) catch(InvalidArgumentException $ex) { } + + $r = $p->opFloatDouble(3.402823466E38, 0.0, $f, $d); + $r = $p->opFloatDouble(-3.402823466E38, 0.0, $f, $d); + + try + { + $r = $p->opFloatDouble(3.402823466E38*2, 0.0, $f, $d); + test(false); + } + catch(InvalidArgumentException $ex) + { + } + + try + { + $r = $p->opFloatDouble(-3.402823466E38*2, 0.0, $f, $d); + test(false); + } + catch(InvalidArgumentException $ex) + { + } } { @@ -898,7 +919,7 @@ function twoways($communicator, $p) { $p->opNonmutating(); } - + test($p->opByte1(0xFF) == 0xFF); test($p->opShort1(0x7FFF) == 0x7FFF); test($p->opInt1(0x7FFFFFFF) == 0x7FFFFFFF); |