From 6729156450ceff79f8db05f03f454ed3a5b3700a Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 22 Dec 2001 11:52:56 +0000 Subject: [PATCH] - Add test for floor and ceil --- ext/standard/tests/math/floorceil.phpt | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 ext/standard/tests/math/floorceil.phpt diff --git a/ext/standard/tests/math/floorceil.phpt b/ext/standard/tests/math/floorceil.phpt new file mode 100644 index 00000000000..2098e0af7c8 --- /dev/null +++ b/ext/standard/tests/math/floorceil.phpt @@ -0,0 +1,47 @@ +--TEST-- +Tests for floor en ceil +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +float(0) +float(-0) +float(-1) +float(-1) +float(-1) +float(-2) +float(0) +float(1) +float(1) +float(2) +float(2) +float(3) +float(0) +float(-1) +float(-1) +float(-2) +float(-2) +float(-3) +float(0) +float(0) +float(1) +float(1) +float(1) +float(2)