/trunk/Examples/test-suite/go/inctest_runme.go
# · Go · 18 lines · 13 code · 4 blank · 1 comment · 4 complexity · a33185e9d93d77f9c10929977c7794bf MD5 · raw file
- package main
- import "./inctest"
- func main() {
- inctest.NewA()
- inctest.NewB()
- // Check the import in subdirectory worked
- if inctest.Importtest1(5) != 15 {
- panic("import test 1 failed")
- }
- a := []byte("black")
- if inctest.Importtest2(string(a)) != "white" {
- panic("import test 2 failed")
- }
- }