Sha256: 316d6447ef54fa792ab9b9304d34868334640dfada02cb2750044c45a1ad3f7e

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 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

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.8.0 test/nitro/server/tc_session.rb