diff options
author | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
commit | 22476b36ce621bdd115493bab84cbe706e422a7c (patch) | |
tree | 1124d1c5af68860a78c2252bb0dac63c9f18156e /ext/bcmath/tests | |
parent | eb7aca4ea896b09cb9afc2466a46f4720acc4a4e (diff) | |
download | php-git-php_ibase_before_split.tar.gz |
This commit was manufactured by cvs2svn to create tagphp_ibase_before_split
'php_ibase_before_split'.
Diffstat (limited to 'ext/bcmath/tests')
-rw-r--r-- | ext/bcmath/tests/bcadd.phpt | 16 | ||||
-rw-r--r-- | ext/bcmath/tests/bccomp.phpt | 18 | ||||
-rw-r--r-- | ext/bcmath/tests/bcdiv.phpt | 18 | ||||
-rw-r--r-- | ext/bcmath/tests/bcmod.phpt | 16 | ||||
-rw-r--r-- | ext/bcmath/tests/bcmul.phpt | 18 | ||||
-rw-r--r-- | ext/bcmath/tests/bcpow.phpt | 16 | ||||
-rw-r--r-- | ext/bcmath/tests/bcscale.phpt | 21 | ||||
-rw-r--r-- | ext/bcmath/tests/bcsqrt.phpt | 14 | ||||
-rw-r--r-- | ext/bcmath/tests/bcsub.phpt | 16 |
9 files changed, 0 insertions, 153 deletions
diff --git a/ext/bcmath/tests/bcadd.phpt b/ext/bcmath/tests/bcadd.phpt deleted file mode 100644 index 61552eecde..0000000000 --- a/ext/bcmath/tests/bcadd.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -bcadd() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcadd("1", "2"),"\n"; -echo bcadd("-1", "5", 4),"\n"; -echo bcadd("1928372132132819737213", "8728932001983192837219398127471", 2),"\n"; -?> ---EXPECT-- -3 -4.0000 -8728932003911564969352217864684.00 diff --git a/ext/bcmath/tests/bccomp.phpt b/ext/bcmath/tests/bccomp.phpt deleted file mode 100644 index b2bf9f4ac2..0000000000 --- a/ext/bcmath/tests/bccomp.phpt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -bccomp() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bccomp("-1", "5", 4),"\n"; -echo bccomp("1928372132132819737213", "8728932001983192837219398127471"),"\n"; -echo bccomp("1.00000000000000000001", "1", 2),"\n"; -echo bccomp("97321", "2321"),"\n"; -?> ---EXPECT-- --1 --1 -0 -1 diff --git a/ext/bcmath/tests/bcdiv.phpt b/ext/bcmath/tests/bcdiv.phpt deleted file mode 100644 index cda19496d5..0000000000 --- a/ext/bcmath/tests/bcdiv.phpt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -bcdiv() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcdiv("1", "2"),"\n"; -echo bcdiv("1", "2", 2),"\n"; -echo bcdiv("-1", "5", 4),"\n"; -echo bcdiv("8728932001983192837219398127471", "1928372132132819737213", 2),"\n"; -?> ---EXPECT-- -0 -0.50 --0.2000 -4526580661.75 diff --git a/ext/bcmath/tests/bcmod.phpt b/ext/bcmath/tests/bcmod.phpt deleted file mode 100644 index 1d7be48a75..0000000000 --- a/ext/bcmath/tests/bcmod.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -bcmod() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcmod("11", "2"),"\n"; -echo bcmod("-1", "5"),"\n"; -echo bcmod("8728932001983192837219398127471", "1928372132132819737213"),"\n"; -?> ---EXPECT-- -1 --1 -1459434331351930289678 diff --git a/ext/bcmath/tests/bcmul.phpt b/ext/bcmath/tests/bcmul.phpt deleted file mode 100644 index 0ff322fe32..0000000000 --- a/ext/bcmath/tests/bcmul.phpt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -bcmul() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcmul("1", "2"),"\n"; -echo bcmul("-3", "5"),"\n"; -echo bcmul("1234567890", "9876543210"),"\n"; -echo bcmul("2.5", "1.5", 2),"\n"; -?> ---EXPECT-- -2 --15 -12193263111263526900 -3.75 diff --git a/ext/bcmath/tests/bcpow.phpt b/ext/bcmath/tests/bcpow.phpt deleted file mode 100644 index bdd4e08cab..0000000000 --- a/ext/bcmath/tests/bcpow.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -bcpow() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcpow("1", "2"),"\n"; -echo bcpow("-2", "5", 4),"\n"; -echo bcpow("2", "64"),"\n"; -?> ---EXPECT-- -1 --32 -18446744073709551616 diff --git a/ext/bcmath/tests/bcscale.phpt b/ext/bcmath/tests/bcscale.phpt deleted file mode 100644 index 4fc2f85eb9..0000000000 --- a/ext/bcmath/tests/bcscale.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -bcscale() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcadd("1", "2"),"\n"; -bcscale(2); -echo bcadd("1", "2"),"\n"; -bcscale(10); -echo bcadd("1", "2"),"\n"; -bcscale(0); -echo bcadd("1", "2"),"\n"; -?> ---EXPECT-- -3 -3.00 -3.0000000000 -3 diff --git a/ext/bcmath/tests/bcsqrt.phpt b/ext/bcmath/tests/bcsqrt.phpt deleted file mode 100644 index 46d92fd5ed..0000000000 --- a/ext/bcmath/tests/bcsqrt.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -bcsqrt() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcsqrt("9"),"\n"; -echo bcsqrt("1928372132132819737213", 5),"\n"; -?> ---EXPECT-- -3 -43913234134.28826 diff --git a/ext/bcmath/tests/bcsub.phpt b/ext/bcmath/tests/bcsub.phpt deleted file mode 100644 index 71726492f7..0000000000 --- a/ext/bcmath/tests/bcsub.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -bcsub() function ---SKIPIF-- -<?php if(!extension_loaded("bcmath")) print "skip"; ?> ---INI-- -bcmath.scale=0 ---FILE-- -<?php -echo bcsub("1", "2"),"\n"; -echo bcsub("-1", "5", 4),"\n"; -echo bcsub("8728932001983192837219398127471", "1928372132132819737213", 2),"\n"; -?> ---EXPECT-- --1 --6.0000 -8728932000054820705086578390258.00 |