Last active
June 19, 2016 14:46
-
-
Save kzkaed/1289c9b299055d9b4f7e to your computer and use it in GitHub Desktop.
This file contains 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
class Hiker { | |
def answer(): String = { | |
return 42 | |
} | |
} | |
class HikerSuite extends FunSuite { | |
test("the answer to life the universe and everything") { | |
val hiker = new Hiker | |
assert(hiker.answer() === (42)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment