Skip to content

Commit

Permalink
math.extras: add test for stirling numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jul 10, 2019
1 parent c3197c3 commit 4b246b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extra/math/extras/extras-tests.factor
Expand Up @@ -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

Expand Down

0 comments on commit 4b246b6

Please sign in to comment.