Sha256: 00ebfbf7648e496457274f9ac90529d50a075803073e1e5eb5a9318e959a83aa
Contents?: true
Size: 707 Bytes
Versions: 3
Compression:
Stored size: 707 Bytes
Contents
require File.dirname(__FILE__) + "/../test_helper" class ResourceTest < Test::Unit::TestCase def teardown super MeshManager.instance.remove_all end should "be properly cast to their real subclasses on C++ -> Ruby" do mesh = MeshManager.instance.create("TestMesh", "General") assert mesh.is_a?(MeshPtr) material = MaterialManager.instance.create("TestMaterial", "General") assert material.is_a?(MaterialPtr) end should "not have listener methods" do mesh = MeshManager.instance.create("TestMesh", "General") assert !mesh.respond_to?(:add_listener) assert !mesh.respond_to?(:remove_listener) assert !mesh.respond_to?(:extract_resource) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ogre.rb-0.2-i686-linux | test/unit/resource_test.rb |
ogre.rb-0.2-i386-mswin32 | test/unit/resource_test.rb |
ogre.rb-0.2-x86_64-linux | test/unit/resource_test.rb |