Created
May 29, 2017 22:40
-
-
Save wende/44c063392357415d166df933d5ec21f2 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
test "Sum of lists" do | |
assert Hello.sum([]) == 0 | |
assert Hello.sum([2]) == 2 | |
assert Hello.sum([1, 2, 3, -1, -2, -3]) == 0 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment