Add a unit test for bind

This commit is contained in:
Jonathan Turner 2009-07-09 03:37:57 +00:00
parent 6aaee43205
commit b8dec6c187
2 changed files with 3 additions and 0 deletions

2
unittests/bind.chai Normal file
View File

@ -0,0 +1,2 @@
var prod = bind(foldl, _, `*`, 1.0)
print(prod([3, 4, 5]))

1
unittests/bind.txt Normal file
View File

@ -0,0 +1 @@
60