Skip to content
Permalink
Browse files

math.extras: add test for stirling numbers.

  • Loading branch information...
mrjbq7 committed Jul 10, 2019
1 parent c3197c3 commit 4b246b61301af71702a2698d4a9b360d8deabef0
Showing with 3 additions and 0 deletions.
  1. +3 −0 extra/math/extras/extras-tests.factor
@@ -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

0 comments on commit 4b246b6

Please sign in to comment.
You can’t perform that action at this time.