Sha256: 1b85d23626e174b9e86e0e8aec44d0d62ddccdbb47c7080bc8875b1f6b17ea63
Contents?: true
Size: 387 Bytes
Versions: 43
Compression:
Stored size: 387 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), '..', '..')) require 'test/unit' require 'rex/text' require 'rex/arch/sparc' class Rex::Arch::Sparc::UnitTest < ::Test::Unit::TestCase Klass = Rex::Arch::Sparc def test_set assert_equal("\x88\x10\x20\x02", Klass.set(0x2, 'g4')) assert_equal("\x09\x00\x00\x08\x88\x11\x22\x22", Klass.set(0x2222, 'g4')) end end
Version data entries
43 entries across 43 versions & 1 rubygems