From 2ff517462bf8609b30e6134c96658aa7912b628a Mon Sep 17 00:00:00 2001 From: narimiran Date: Mon, 22 Feb 2021 13:51:56 +0100 Subject: [PATCH] remove tests for stuff not available in 1.4 --- tests/stdlib/tmath.nim | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/stdlib/tmath.nim b/tests/stdlib/tmath.nim index a255e4c09a..50b11f46bc 100644 --- a/tests/stdlib/tmath.nim +++ b/tests/stdlib/tmath.nim @@ -222,16 +222,10 @@ block: # check gamma function doAssert gamma(5.0) == 24.0 # 4! - doAssert almostEqual(gamma(0.5), sqrt(PI)) - doAssert almostEqual(gamma(-0.5), -2 * sqrt(PI)) doAssert lgamma(1.0) == 0.0 # ln(1.0) == 0.0 - doAssert almostEqual(lgamma(0.5), 0.5 * ln(PI)) doAssert erf(6.0) > erf(5.0) doAssert erfc(6.0) < erfc(5.0) - when not defined(js) and not defined(windows): # xxx pending bug #17017 - doAssert gamma(-1.0).isNaN - block: # sgn() tests assert sgn(1'i8) == 1 assert sgn(1'i16) == 1