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.35 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.34 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.33 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.32 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.31 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.30 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.29 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.28 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.27 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.26 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.25 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.23 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.21 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.19 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.17 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.13 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.12 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.7 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.6 lib/rex/nop/opty2.rb.ut.rb
librex-0.0.5 lib/rex/nop/opty2.rb.ut.rb