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:
parent
a3f086ccd7
commit
40b636706c
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue