mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
23 lines
439 B
Go
23 lines
439 B
Go
|
|
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)
|
||
|
|
})
|
||
|
|
}
|