From: SVN Migration Date: Thu, 21 Nov 2002 15:24:46 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.0RC2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=179effddf36b59a3356425837c9a9060351c24ef;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/bcmath/tests/bcadd.phpt b/ext/bcmath/tests/bcadd.phpt new file mode 100644 index 0000000000..5713057032 --- /dev/null +++ b/ext/bcmath/tests/bcadd.phpt @@ -0,0 +1,14 @@ +--TEST-- +bcadd() function +--SKIP-- + +--FILE-- + +--EXPECT-- +3 +4.0000 +8728932003911564969352217864684.00 diff --git a/ext/bcmath/tests/bccomp.phpt b/ext/bcmath/tests/bccomp.phpt new file mode 100644 index 0000000000..f1b389a140 --- /dev/null +++ b/ext/bcmath/tests/bccomp.phpt @@ -0,0 +1,16 @@ +--TEST-- +bccomp() function +--SKIP-- + +--FILE-- + +--EXPECT-- +-1 +-1 +0 +1 diff --git a/ext/bcmath/tests/bcdiv.phpt b/ext/bcmath/tests/bcdiv.phpt new file mode 100644 index 0000000000..2bba262e00 --- /dev/null +++ b/ext/bcmath/tests/bcdiv.phpt @@ -0,0 +1,16 @@ +--TEST-- +bcdiv() function +--SKIP-- + +--FILE-- + +--EXPECT-- +0 +0.50 +-0.2000 +4526580661.75 diff --git a/ext/bcmath/tests/bcmod.phpt b/ext/bcmath/tests/bcmod.phpt new file mode 100644 index 0000000000..74bec5a8d8 --- /dev/null +++ b/ext/bcmath/tests/bcmod.phpt @@ -0,0 +1,14 @@ +--TEST-- +bcmod() function +--SKIP-- + +--FILE-- + +--EXPECT-- +1 +-1 +1459434331351930289678 diff --git a/ext/bcmath/tests/bcmul.phpt b/ext/bcmath/tests/bcmul.phpt new file mode 100644 index 0000000000..76891f37e8 --- /dev/null +++ b/ext/bcmath/tests/bcmul.phpt @@ -0,0 +1,16 @@ +--TEST-- +bcmul() function +--SKIP-- + +--FILE-- + +--EXPECT-- +2 +-15 +12193263111263526900 +3.75 diff --git a/ext/bcmath/tests/bcpow.phpt b/ext/bcmath/tests/bcpow.phpt new file mode 100644 index 0000000000..69ff171526 --- /dev/null +++ b/ext/bcmath/tests/bcpow.phpt @@ -0,0 +1,14 @@ +--TEST-- +bcpow() function +--SKIP-- + +--FILE-- + +--EXPECT-- +1 +-32 +18446744073709551616 diff --git a/ext/bcmath/tests/bcscale.phpt b/ext/bcmath/tests/bcscale.phpt new file mode 100644 index 0000000000..742c7adb9f --- /dev/null +++ b/ext/bcmath/tests/bcscale.phpt @@ -0,0 +1,19 @@ +--TEST-- +bcscale() function +--SKIP-- + +--FILE-- + +--EXPECT-- +3 +3.00 +3.0000000000 +3 diff --git a/ext/bcmath/tests/bcsqrt.phpt b/ext/bcmath/tests/bcsqrt.phpt new file mode 100644 index 0000000000..b9b243bc12 --- /dev/null +++ b/ext/bcmath/tests/bcsqrt.phpt @@ -0,0 +1,12 @@ +--TEST-- +bcsqrt() function +--SKIP-- + +--FILE-- + +--EXPECT-- +3 +43913234134.28826 diff --git a/ext/bcmath/tests/bcsub.phpt b/ext/bcmath/tests/bcsub.phpt new file mode 100644 index 0000000000..918eaadb1d --- /dev/null +++ b/ext/bcmath/tests/bcsub.phpt @@ -0,0 +1,14 @@ +--TEST-- +bcsub() function +--SKIP-- + +--FILE-- + +--EXPECT-- +-1 +-6.0000 +8728932000054820705086578390258.00