test: avoid possibility of collide value in tests. I mean, what were the odds of that?

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-10-19 12:54:54 +02:00
parent a3f086ccd7
commit 40b636706c
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ func TestToScale(t *testing.T) {
}
func TestRand(t *testing.T) {
a := Rand(1000)
b := Rand(1000)
a := Rand(10000)
b := Rand(10000)
if a == b {
t.Errorf("%v should not equal %v", a, b)
}