2021-11-12 11:19:16 +00:00
|
|
|
package versiontest
|
2021-11-08 12:13:59 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"math/rand"
|
|
|
|
|
|
|
|
"github.com/nspcc-dev/neofs-sdk-go/version"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Version returns random version.Version.
|
2022-03-23 15:35:44 +00:00
|
|
|
func Version() (v version.Version) {
|
|
|
|
v.SetMajor(rand.Uint32())
|
|
|
|
v.SetMinor(rand.Uint32())
|
|
|
|
return v
|
2021-11-08 12:13:59 +00:00
|
|
|
}
|