From d5181ec6879e3571ca83e39d718ccc8ae459d6a8 Mon Sep 17 00:00:00 2001 From: David Laing Date: Mon, 30 May 2011 12:29:34 +0100 Subject: [PATCH] Remove About Lamda koans Signed-off-by: David Laing --- KoansRunner.html | 1 - koans/AboutLambda.js | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 koans/AboutLambda.js diff --git a/KoansRunner.html b/KoansRunner.html index 053ae8eb8..d9fc146d9 100644 --- a/KoansRunner.html +++ b/KoansRunner.html @@ -17,7 +17,6 @@ - diff --git a/koans/AboutLambda.js b/koans/AboutLambda.js deleted file mode 100644 index a3ab4a64a..000000000 --- a/koans/AboutLambda.js +++ /dev/null @@ -1,22 +0,0 @@ -var dojox; //global variables -var df = dojox.lang.functional; - -describe("About Lambdas", function () { - - it("should turn an expression string into a function that returns a value of the expression", function () { - expect(df.lambda("1 + 2")()).toBe(FILL_ME_IN); - }); - - it("should confirm that an expression string can contain parameters", function () { - expect(df.lambda("x + 2")(3)).toBe(FILL_ME_IN); - }); - - it("should separate parameters from the expression", function () { - expect(df.lambda("x, y -> y*2 + x*3")(2, 3)).toBe(FILL_ME_IN); - }); - - it("should demonstrate a string passed to higher order functions assumed to be a lambda", function () { - expect(df.map([1, 2, 3], "x + 1")).toEqual(FILL_ME_IN); - }); - -});