Sha256: 52bd007d36198abe2778c842d6f8867a3901570099cd91a39a646da50573448d
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: binary -*- $:.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/arch/sparc.rb.ut.rb |
librex-0.0.66 | lib/rex/arch/sparc.rb.ut.rb |