Sha256: 7c42c37088e75281c1e0ee9de0df7268c3e90888d143b338abb6380f6c761b8b

Contents?: true

Size: 567 Bytes

Versions: 4

Compression:

Stored size: 567 Bytes

Contents

# :nodoc: all

require "test/unit"

require "nitro/server/session"

include N

class TC_N2_Web_Server_Session < Test::Unit::TestCase
	# :nodoc: all

	def setup
	end

	def teardown
	end

	def test_calculate_id
		id1 = Session.calculate_id
		id2 = Session.calculate_id
		id3 = Session.calculate_id
		id4 = Session.calculate_id
		id5 = Session.calculate_id
		id6 = Session.calculate_id

		assert_not_equal(id1, id2)
		assert_not_equal(id2, id3)
		assert_not_equal(id3, id4)
		assert_not_equal(id4, id5)
		assert_not_equal(id5, id6)
		assert_not_equal(id1, id6)
	end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nitro-0.4.1 test/n/server/tc_session.rb
nitro-0.5.0 test/nitro/server/tc_session.rb
nitro-0.6.0 test/nitro/server/tc_session.rb
nitro-0.7.0 test/nitro/server/tc_session.rb