github.com/sercand/please@v13.4.0+incompatible/test/go_rules/cgo/cgo_test.go (about) 1 package cgo 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7 ) 8 9 func TestAnswer(t *testing.T) { 10 assert.Equal(t, 42, GetAnswer()) 11 } 12 13 func TestQuestion(t *testing.T) { 14 assert.NoError(t, CheckAnswer("42")) 15 }