#NEWLINE# def test_perlin_2d_range( self ) : #NEWLINE# #INDENT# from noise import pnoise2 #NEWLINE# for i in range ( ( - 10000 ) , 10000 ) : #NEWLINE# #INDENT# x = ( i * 0.49 ) #NEWLINE# y = ( ( - i ) * 0.67 ) #NEWLINE# n = pnoise2 ( x , y ) #NEWLINE# self . assertTrue ( ( ( - 1.0 ) <= n <= 1.0 ) , ( x , y , n ) )