test/test_sgl.rb in sgl-0.3.1 vs test/test_sgl.rb in sgl-0.4.0
- old
+ new
@@ -1,32 +1,9 @@
#!/usr/bin/env ruby -w
# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+# License: Ruby License
require File.dirname(__FILE__) + '/test_helper.rb'
-=begin
-
-$LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..")
-
-$VERBOSE = true
-
-require 'test_helper'
-require 'test_cocoa_app'
-require 'test_module_ruby16'
-require 'test_opengl_app'
-require 'test_opengl_basic'
-require 'test_opengl_fullscreen'
-require 'test_opengl_novice'
-
-def load_files(dir, base)
- Dir.chdir(dir)
- Dir.glob(base+"*.rb") {|filename|
- require filename
- }
-end
-
-def main(argv)
- load_files("..", "sgl/test-opengl-")
- load_files("..", "sgl/sgl-")
-end
-main(ARGV)
-=end
+require 'sgl/sgl-button'
+require 'sgl/sgl-color'
+require 'sgl/sgl-spring'