test/test_opengl_app.rb in sgl-0.3.1 vs test/test_opengl_app.rb in sgl-0.4.0
- old
+ new
@@ -1,10 +1,9 @@
-#!/usr/bin/env ruby
-# Copyright (C) 2004-2005 Kouichirou Eto, All rights reserved.
+#!/usr/bin/env ruby -w
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+# License: Ruby License
-$LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..")
-require "sgl/opengl-app"
-require "test/unit"
+require File.dirname(__FILE__) + '/test_helper.rb'
class TestOpenglBasic < Test::Unit::TestCase
def test_basic
app = SGL::Application.new
app.set_setup {