Sha256: 7c6f0b27e9652eff98ef1c0b33edea1620cd1347893ad1338fe3527571c84d5e

Contents?: true

Size: 405 Bytes

Versions: 10

Compression:

Stored size: 405 Bytes

Contents

#make sure the relevant folder with our libraries is in the require path
lib_path=File.expand_path(File.dirname(__FILE__)+"//..//lib")
$:.unshift(lib_path) unless $:.include?(lib_path)

require 'test/unit'
require 'D65'
require 'DSK'

class TestDisassembly <Test::Unit::TestCase

	def test_simple
		assert(/RTS/.match(D65.disassemble("\x60")),"disassembly of 0x60 should be RTS")

	end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dsktool-0.1.1 test/tc_disassembly.rb
dsktool-0.1.3 test/tc_disassembly.rb
dsktool-0.1.4 test/tc_disassembly.rb
dsktool-0.1.2 test/tc_disassembly.rb
dsktool-0.4.1 test/tc_disassembly.rb
dsktool-0.4.2 test/tc_disassembly.rb
dsktool-0.5.1 test/tc_disassembly.rb
dsktool-0.1.5 test/tc_disassembly.rb
dsktool-0.1.6 test/tc_disassembly.rb
dsktool-0.2.1 test/tc_disassembly.rb