]> Cypherpunks repositories - gostls13.git/commit
runtime: add a test for randomised map iteration order.
authorDavid Symonds <dsymonds@golang.org>
Thu, 2 Jan 2014 23:10:54 +0000 (10:10 +1100)
committerDavid Symonds <dsymonds@golang.org>
Thu, 2 Jan 2014 23:10:54 +0000 (10:10 +1100)
commitd4c66a35baba191b5857960d75fe66d766f6d573
tree7d365bd9095e560053e19f32de28e4e2110d28ab
parent3a765be98c9667746855f7f46d5a773b13b0084f
runtime: add a test for randomised map iteration order.

Technically the spec does not guarantee that the iteration order is random,
but it is a property that we have consciously pursued, and so it seems
right to verify that our implementation does indeed randomise.

Update #6719.

R=khr, bradfitz
CC=golang-codereviews
https://golang.org/cl/47010043
src/pkg/runtime/map_test.go