From 8e59bf05cb0095f19a36799126729f623ce53ee0 Mon Sep 17 00:00:00 2001 From: Zoe Slattery Date: Tue, 4 Sep 2007 11:18:35 +0000 Subject: Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. --- ext/standard/tests/math/tanh_basic.phpt | 60 +++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 ext/standard/tests/math/tanh_basic.phpt (limited to 'ext/standard/tests/math/tanh_basic.phpt') diff --git a/ext/standard/tests/math/tanh_basic.phpt b/ext/standard/tests/math/tanh_basic.phpt new file mode 100644 index 0000000000..6b6a9dff7d --- /dev/null +++ b/ext/standard/tests/math/tanh_basic.phpt @@ -0,0 +1,60 @@ +--TEST-- +Test return type and value for expected input tanh() +--INI-- +precision = 14 +--FILE-- + +--EXPECTF-- +tanh .5 = float(%f) +Pass +tanh -0.5 = float(%f) +Pass +tanh 3 = float(%f) +Pass +tanh -3 = float(%f) +Pass -- cgit v1.2.1