Sha256: 23ed9ec8a2d8affcebc0b5379cdfaf7c2ad1a9964fbd440610443ddef8216a91

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

$:.unshift(File.join(File.dirname(__FILE__), '..', '..'))

require 'test/unit'
require 'rex/nop/opty2'

class Rex::Nop::Opty2::UnitTest < Test::Unit::TestCase

	Klass = Rex::Nop::Opty2

	# TODO: machine test
	def test_opty2
		o = Klass.new

		100.times {
			s = o.generate_sled(100)

			assert_equal(s.length, 100)
		}
	end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.66 lib/rex/nop/opty2.rb.ut.rb