physfs/test/test_physfs.rb

19 lines
247 B
Ruby
Raw Normal View History

2010-02-04 10:46:14 +01:00
#!/usr/bin/ruby
require 'physfs'
puts "testing PhysicsFS Ruby bindings..."
puts "init..."
Physfs.init($0)
puts "user dir: " + Physfs.getUserDir()
puts "base dir: " + Physfs.getBaseDir()
puts "deinit..."
Physfs.deinit()
puts "done!"
exit(0)