Sha256: 14bdb076bf77c6e6f1a82c591e456c07b1ddfd23af2102b0b45dee1d556982e8

Contents?: true

Size: 413 Bytes

Versions: 4

Compression:

Stored size: 413 Bytes

Contents

require "onsengame"

class TestScene < Test::Unit::TestCase
  def setup
    options = {
      width: 1,
      height: 1,
    }
    @window = Onsengame::Window.new(options)
  end

  class TitleTest < self
    def test_new
      assert_not_nil(Onsengame::Scene::Title.new(@window))
    end
  end

  class MainTest < self
    def test_main
      assert_not_nil(Onsengame::Scene::Main.new(@window))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
onsengame-0.0.4 test/test-scene.rb
onsengame-0.0.3 test/test-scene.rb
onsengame-0.0.2 test/test-scene.rb
onsengame-0.0.1 test/test-scene.rb