#NEWLINE# def test_gauss( self ) : #NEWLINE# #INDENT# for seed in ( 1 , 12 , 123 , 1234 , 12345 , 123456 , 654321 ) : #NEWLINE# #INDENT# self . gen . seed ( seed ) #NEWLINE# x1 = self . gen . random ( ) #NEWLINE# y1 = self . gen . gauss ( 0 , 1 ) #NEWLINE# self . gen . seed ( seed ) #NEWLINE# x2 = self . gen . random ( ) #NEWLINE# y2 = self . gen . gauss ( 0 , 1 ) #NEWLINE# self . assertEqual ( x1 , x2 ) #NEWLINE# self . assertEqual ( y1 , y2 )