test/test_opengl_novice.rb in sgl-0.3.1 vs test/test_opengl_novice.rb in sgl-0.4.0
- old
+ new
@@ -1,12 +1,9 @@
#!/usr/bin/env ruby -w
-# Copyright (C) 2004-2005 Kouichirou Eto, All rights reserved.
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+# License: Ruby License
-$LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..")
-require "sgl/opengl"
-require "test/unit"
-#puts $LOAD_PATH
-#puts $"
+require File.dirname(__FILE__) + '/test_helper.rb'
if $0 == __FILE__
class TestOpenGLNovice < Test::Unit::TestCase
def test_1st
window 100, 100