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

18 lines
250 B
Go

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")
}
}