From cc0b147a2f031f9eed0ef1ee08e61da820ceaa4e Mon Sep 17 00:00:00 2001 From: Zoe Slattery Date: Fri, 1 Feb 2008 17:27:43 +0000 Subject: A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. --- ext/standard/tests/math/bindec_basic.phpt | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 ext/standard/tests/math/bindec_basic.phpt (limited to 'ext/standard/tests/math/bindec_basic.phpt') diff --git a/ext/standard/tests/math/bindec_basic.phpt b/ext/standard/tests/math/bindec_basic.phpt new file mode 100644 index 0000000000..fe9ab099f7 --- /dev/null +++ b/ext/standard/tests/math/bindec_basic.phpt @@ -0,0 +1,49 @@ +--TEST-- +Test bindec() - basic function test bindec() +--FILE-- + +--EXPECTF-- +int(455) +int(0) +int(32766) +int(5) +int(129) +int(455) +int(224) +int(2147483647) +float(2147483648) +int(129) +int(0) +int(13) +int(13) +int(26) +int(6) +int(0) +int(1) +int(0) +int(0) \ No newline at end of file -- cgit v1.2.1