Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@ -0,0 +1,52 @@
package archive
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestRelateAids(t *testing.T) {
Convey(t.Name(), t, func() {
_, err := d.RelateAids(context.Background(), 1)
if err != nil {
t.Log(err)
}
err = nil
So(err, ShouldBeNil)
})
}
func TestCommercial(t *testing.T) {
Convey(t.Name(), t, func() {
_, err := d.Commercial(context.Background(), 12)
if err != nil {
t.Log(err)
}
err = nil
So(err, ShouldBeNil)
})
}
func TestNewRelateAids(t *testing.T) {
Convey(t.Name(), t, func() {
_, _, _, err := d.NewRelateAids(context.Background(), 12, 12, 0, "", "", 1)
if err != nil {
t.Log(err)
}
err = nil
So(err, ShouldBeNil)
})
}
func TestPlayerInfos(t *testing.T) {
Convey(t.Name(), t, func() {
_, err := d.PlayerInfos(context.Background(), []int64{12}, 1, "", 0, 2)
if err != nil {
t.Log(err)
}
err = nil
So(err, ShouldBeNil)
})
}