Sha256: 5424ef08b5ef204d898cf6c4367e288c3f565cb6d2f227f9a69d0664343d1bdd

Contents?: true

Size: 349 Bytes

Versions: 43

Compression:

Stored size: 349 Bytes

Contents

#!/usr/bin/env ruby

$:.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

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.63 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.54 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.53 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.52 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.51 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.50 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.49 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.48 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.47 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.46 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.44 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.43 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.42 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.41 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.40 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.39 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.38 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.37 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.36 lib/rex/nop/opty2.rb.ut.rb