Skip to content

Instantly share code, notes, and snippets.

@quii
Last active March 7, 2016 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quii/79a77a0b6708307777da to your computer and use it in GitHub Desktop.
Save quii/79a77a0b6708307777da to your computer and use it in GitHub Desktop.
func TestAddingExample(t *testing.T) {
result := add(3, 2)
if result != 5 {
t.Error("3 plus 2 is 5 but i got", result)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment