math.extras: add test for stirling numbers.

clean-macosx-x86-32
John Benediktsson 2019-07-10 09:41:12 -07:00
parent c3197c36c3
commit 4b246b6130
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
USING: arrays kernel math math.extras math.ranges sequences
tools.test ;
{ 7 } [ 4 2 stirling ] unit-test
{ 90 } [ 6 3 stirling ] unit-test
{ { 1 -1/2 1/6 0 -1/30 0 1/42 0 -1/30 0 } }
[ 10 <iota> [ bernoulli ] map ] unit-test