1
0
gotour-notes/genimage/pic/pic_test.go

18 lines
250 B
Go
Raw Normal View History

2012-08-28 08:47:55 -07:00
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")
}
}