Created
January 21, 2013 16:07
-
-
Save hhariri/4587074 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public fun given(description : String, givenExpression: Given.() -> Unit) { | |
// code omitted | |
} | |
public class Given { | |
public fun on(description: String, onExpression: On.() -> Unit) { | |
// code omitted | |
} | |
} | |
public class On { | |
public fun it(description: String, itExpression: It.()->Unit) { | |
// code omitted | |
} | |
} | |
public class It { | |
fun shouldEqual<T>(expected: T, actual: T) { | |
assertEquals(expected, actual) | |
} | |
// rest of code omitted... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment