Skip to content

Instantly share code, notes, and snippets.

@mrosset
Created February 21, 2011 00:37
Show Gist options
  • Save mrosset/836473 to your computer and use it in GitHub Desktop.
Save mrosset/836473 to your computer and use it in GitHub Desktop.
package glfw
import "testing"
import "fmt"
func TestInit(t *testing.T) {
}
func TestGetVersion(t *testing.T) {
Init()
major, minor, rev := GetVersion()
fmt.Printf("GLFW Version %d.%d %d\n", major, minor, rev)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment