1
0
Fork 0

added an example test file

This commit is contained in:
Stephen M. McQuay 2012-08-28 09:47:55 -06:00
parent d8fc6d9793
commit 957780462f
1 changed files with 17 additions and 0 deletions

17
genimage/pic/pic_test.go Normal file
View File

@ -0,0 +1,17 @@
package pic
import "testing"
func TestExpectedFailure(t *testing.T) {
const a, b = 3, 2
if a != b {
t.Error("contrived failure")
}
}
func TestExpectedSuccess(t *testing.T) {
const a, b = 3, 3
if a != b {
t.Error("contrived failure")
}
}