aa
This commit is contained in:
@@ -12,3 +12,32 @@ func TestOptimusMaterial(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestMaterialOptional(t *testing.T) {
|
||||
result, err := api.MaterialOptional(&MaterialOptionalParam{
|
||||
AdzoneID: 111339100149,
|
||||
PageNo: 1,
|
||||
PageSize: 10,
|
||||
Cat: "",
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestItemConvert(t *testing.T) {
|
||||
result, err := api.ItemConvert(42319524271)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestItemcatsGet(t *testing.T) {
|
||||
result, err := api.ItemcatsGet(0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user