package accountingtest import ( "math/rand" "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" ) // Decimal returns random accounting.Decimal. func Decimal() *accounting.Decimal { var d accounting.Decimal d.SetValue(rand.Int63()) d.SetPrecision(rand.Uint32()) return &d }