Sha256: 50d2a8c62493bc8c5b98b32cb4092cf49287cb8974f33c0c252d344cb52400e3

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

require 'test/unit'
require 'scottkit/game'
require 'stringio'

class TestDecompile < Test::Unit::TestCase #:nodoc:
  def test_decompile_crystal
    game = ScottKit::Game.new({})
    game.load(IO.read("games/test/crystal.sao"))
    f = StringIO.new()
    game.decompile(f)
    assert_equal(f.string, File.read("games/test/crystal.decompile"))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scottkit-1.6.0 test/test_decompile.rb