]> Cypherpunks repositories - gostls13.git/commit
math/rand: add example / regression test
authorRuss Cox <rsc@golang.org>
Fri, 7 Dec 2012 16:58:59 +0000 (11:58 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 7 Dec 2012 16:58:59 +0000 (11:58 -0500)
commitb99161e41f6a89911a6c438da738aa2154622c07
treef3b40a4e04c7ba9fb7762fd32c97412a2cbd66e4
parentff2534e076a01445f5852f0fab7a3017ee65c8ba
math/rand: add example / regression test

This makes sure the outputs do not change for a fixed seed.
See also https://golang.org/cl/6905049.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6907048
src/pkg/math/rand/example_test.go [new file with mode: 0644]