From b78b25a33687f46c0aba75061631eee542464e72 Mon Sep 17 00:00:00 2001 From: Zoe Slattery Date: Tue, 4 Sep 2007 09:01:02 +0000 Subject: Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. --- ext/standard/tests/math/tan_error.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ext/standard/tests/math/tan_error.phpt (limited to 'ext/standard/tests/math/tan_error.phpt') diff --git a/ext/standard/tests/math/tan_error.phpt b/ext/standard/tests/math/tan_error.phpt new file mode 100644 index 0000000000..58dcc2a43e --- /dev/null +++ b/ext/standard/tests/math/tan_error.phpt @@ -0,0 +1,30 @@ +--TEST-- +Test wrong number of arguments for tan() +--INI-- +--FILE-- + +--EXPECTF-- +Too many arguments + +Warning: Wrong parameter count for tan() in %s on line 11 +NULL + +Too few arguments + +Warning: Wrong parameter count for tan() in %s on line 14 +NULL -- cgit v1.2.1