Created
April 24, 2016 14:45
-
-
Save lysu/00979c9aec91a250aea18144fa1368cf 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
package math_test | |
import ( | |
"testing" | |
"xx/math" | |
) | |
func TestName(t *testing.T) { | |
if 2 != math.Sum(1, 1) { | |
t.Fatalf("Sum of %d + %d not 2") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment