Created
July 13, 2011 13:01
-
-
Save karlseguin/1080254 to your computer and use it in GitHub Desktop.
My First Go Test
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
import ("testing") | |
func TestEmptyReturnsTrueWhenEmpty(t *testing.T) { | |
if (new(LinkedList).IsEmpty() == false) { | |
t.Fatal("Expecting list to be empty") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment