bilibili-backup/app/job/main/growup/dao/income/charge_ratio_test.go

23 lines
439 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
package income
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_AvChargeRatio(t *testing.T) {
Convey("AvChargeRatio", t, func() {
_, _, err := d.ArchiveChargeRatio(context.Background(), 0, 2000)
So(err, ShouldBeNil)
})
}
func Test_UpChargeRatio(t *testing.T) {
Convey("UpChargeRatio", t, func() {
_, _, err := d.UpChargeRatio(context.Background(), 0, 2000)
So(err, ShouldBeNil)
})
}