forked from mirror/client_golang
Make number notation consistent.
This commit is contained in:
parent
15c9ded5a3
commit
31b6c1fe12
|
@ -123,7 +123,7 @@ func TestSummaryConcurrency(t *testing.T) {
|
||||||
rand.Seed(42)
|
rand.Seed(42)
|
||||||
|
|
||||||
it := func(n uint32) bool {
|
it := func(n uint32) bool {
|
||||||
mutations := int(n%10000 + 1e4)
|
mutations := int(n%1e4 + 1e4)
|
||||||
concLevel := int(n%5 + 1)
|
concLevel := int(n%5 + 1)
|
||||||
total := mutations * concLevel
|
total := mutations * concLevel
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ func TestSummaryVecConcurrency(t *testing.T) {
|
||||||
sort.Float64s(objectives)
|
sort.Float64s(objectives)
|
||||||
|
|
||||||
it := func(n uint32) bool {
|
it := func(n uint32) bool {
|
||||||
mutations := int(n%10000 + 1e4)
|
mutations := int(n%1e4 + 1e4)
|
||||||
concLevel := int(n%7 + 1)
|
concLevel := int(n%7 + 1)
|
||||||
vecLength := int(n%3 + 1)
|
vecLength := int(n%3 + 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue