func TestEGL(t *testing.T) { pt.Run( t, new(testInitEGLSuite), new(testCreateEGLContextSuite), ) }
func main() { runtime.LockOSThread() defer runtime.UnlockOSThread() defer glfw.Terminate() mandala.Verbose = true if !glfw.Init() { panic("Can't init glfw!") } // Enable OpenGL ES 2.0. glfw.WindowHint(glfw.ClientApi, glfw.OpenglEsApi) glfw.WindowHint(glfw.ContextVersionMajor, 2) window, err := glfw.CreateWindow(Width, Height, "gltext black-box testing", nil, nil) if err != nil { panic(err) } glfw.SwapInterval(0) mandala.Init(window) go prettytest.Run(new(testing.T), testlib.NewTestSuite(outputPath)) for !window.ShouldClose() { glfw.WaitEvents() } }
func main() { runtime.LockOSThread() defer runtime.UnlockOSThread() defer glfw.Terminate() gorgasm.Verbose = true if !glfw.Init() { panic("Can't init glfw!") } // Enable OpenGL ES 2.0. glfw.WindowHint(glfw.ClientApi, glfw.OpenglEsApi) glfw.WindowHint(glfw.ContextVersionMajor, 2) window, err := glfw.CreateWindow(testlib.Width, testlib.Height, "Gorgasm Test", nil, nil) if err != nil { panic(err) } gorgasm.Init(window) go prettytest.Run(new(testing.T), testlib.NewTestSuite()) for !window.ShouldClose() { glfw.WaitEvents() } }
func TestConsole(t *testing.T) { pt.Run( t, new(consoleTestSuite), ) }
func TestRunner(t *testing.T) { prettytest.Run( t, new(testSuite), ) }
func TestRunner(t *testing.T) { prettytest.Run(t, new(mySuite)) }
func TestApplication(t *testing.T) { pt.Run(t, new(basicTestSuite), new(errorTestSuite)) }
func TestEGL(t *testing.T) { prettytest.Run( t, new(testSuite), ) }
func TestDatastoreSuite(t *testing.T) { prettytest.Run(t, new(datastoreTestSuite)) }
func TestCompare(t *testing.T) { pt.Run(t, new(testSuite)) }