Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Last active January 2, 2016 01:09
Show Gist options
  • Select an option

  • Save practicingruby/8228476 to your computer and use it in GitHub Desktop.

Select an option

Save practicingruby/8228476 to your computer and use it in GitHub Desktop.
test() ->
12 = area({rectangle, 3, 4}),
144 = area({square, 12}),
tests_worked.
def test
12 == area(:rectangle, 3, 4) &&
144 == area(:square, 12) &&
:tests_worked
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment