[Python-checkins] python/dist/src/Lib random.py,1.43,1.44
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Sun, 05 Jan 2003 01:20:09 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv21100
Modified Files:
random.py
Log Message:
Move the statistical tests for four distributions into the unittest suite.
Index: random.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/random.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** random.py 4 Jan 2003 09:26:32 -0000 1.43
--- random.py 5 Jan 2003 09:20:06 -0000 1.44
***************
*** 753,757 ****
_test_generator(N, 'lognormvariate(0.0, 1.0)')
_test_generator(N, 'cunifvariate(0.0, 1.0)')
- _test_generator(N, 'expovariate(1.0)')
_test_generator(N, 'vonmisesvariate(0.0, 1.0)')
_test_generator(N, 'gammavariate(0.01, 1.0)')
--- 753,756 ----
***************
*** 766,771 ****
_test_generator(N, 'gauss(0.0, 1.0)')
_test_generator(N, 'betavariate(3.0, 3.0)')
- _test_generator(N, 'paretovariate(1.0)')
- _test_generator(N, 'weibullvariate(1.0, 1.0)')
_test_generator(N, '_sample_generator(50, 5)') # expected s.d.: 14.4
_test_generator(N, '_sample_generator(50, 45)') # expected s.d.: 14.4
--- 765,768 ----