#NEWLINE# def test_range( self ) : #NEWLINE# #INDENT# lbound = 2.0 #NEWLINE# ubound = 5.0 #NEWLINE# gen = numbergen . UniformRandomOffset ( seed = _seed , mean = ( ( ubound + lbound ) / 2 ) , range = ( ubound - lbound ) ) #NEWLINE# for _ in range ( _iterations ) : #NEWLINE# #INDENT# value = gen ( ) #NEWLINE# self . assertTrue ( ( lbound <= value < ubound ) )