remove tests for stuff not available in 1.4

This commit is contained in:
narimiran
2021-02-22 13:51:56 +01:00
parent 29a064e275
commit 2ff517462b

View File

@@ -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