Moved position of lume.combine() in readme and other files

This commit is contained in:
rxi
2014-04-03 20:17:31 +01:00
parent 8311519e3f
commit dbd93b3861
3 changed files with 21 additions and 21 deletions

View File

@@ -249,6 +249,13 @@ tests["lume.once"] = function()
testeq( f(5), nil )
end
-- lume.time
tests["lume.time"] = function()
local t, a, b, c = lume.time(function(x) return 50, 60, x end, 70)
testeq( type(t), "number" )
testeq( {a, b, c}, {50, 60, 70} )
end
-- lume.combine
tests["lume.combine"] = function()
local acc = 0
@@ -259,13 +266,6 @@ tests["lume.combine"] = function()
testeq( acc, 230 )
end
-- lume.time
tests["lume.time"] = function()
local t, a, b, c = lume.time(function(x) return 50, 60, x end, 70)
testeq( type(t), "number" )
testeq( {a, b, c}, {50, 60, 70} )
end
-- lume.lambda
tests["lume.lambda"] = function()
testeq( lume.lambda "x->x*x"(10), 100 )