From 358f0cb5d8cb822644e29bad520b44d63c0d5666 Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Mon, 19 Nov 2012 15:19:52 -0500 Subject: Restore accidentally deleted erfc(1) test --- test/t/math.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/t/math.rb b/test/t/math.rb index e582c0166..780b805d2 100644 --- a/test/t/math.rb +++ b/test/t/math.rb @@ -110,6 +110,10 @@ if Object.const_defined?(:Math) check_float(Math.erf(1), 0.842700792949715) end + assert('Math.erfc 1') do + check_float(Math.erfc(1), 0.157299207050285) + end + assert('Math.erf -1') do check_float(Math.erf(-1), -0.8427007929497148) end -- cgit v1.2.3