From 9e2a312f2e5ef9619245bdf42f920c406cbf7d65 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Mon, 11 Nov 2002 03:45:04 +0000 Subject: [PATCH] add test function for log() # It is difficult to test an approximation of an approximation, but I # believe this test should be close enough to verify the function is working # correctly. --- ext/standard/tests/math/log.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ext/standard/tests/math/log.phpt diff --git a/ext/standard/tests/math/log.phpt b/ext/standard/tests/math/log.phpt new file mode 100644 index 0000000000..344c72fa0d --- /dev/null +++ b/ext/standard/tests/math/log.phpt @@ -0,0 +1,21 @@ +--TEST-- +log() tests +--POST-- +--GET-- +--FILE-- + ($x - 2))) { + $count++; + } + else { + print "$x : $x2\n"; + } +} +print $count . "\n"; +--EXPECT-- +On failure, please mail result to php-dev@lists.php.net +200 -- 2.50.1