Created
May 8, 2018 14:33
-
-
Save picatz/d70b2aca722f0722e60162cd97892191 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
package main | |
import "testing" | |
func TestAddNumbers(t *testing.T) { | |
exp := 10 | |
got := AddNumbers(8, 2) | |
if exp != got { | |
t.Error("unable to successfully add two numbers") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment