I have a table-driven test case like this one:
func CountWords(s string) map[string]int func TestCountWords(t *testing.T) { var tests = []struct { input s
One of the options is to fix rng:
rand.Reader = mathRand.New(mathRand.NewSource(0xDEADBEEF))