Class: Rex::Nop::Opty2::UnitTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/rex/nop/opty2.rb.ut.rb

Constant Summary collapse

Klass =
Rex::Nop::Opty2

Instance Method Summary collapse

Instance Method Details

#test_opty2Object

TODO: machine test



13
14
15
16
17
18
19
20
21
# File 'lib/rex/nop/opty2.rb.ut.rb', line 13

def test_opty2
	o = Klass.new

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

		assert_equal(s.length, 100)
	}
end