24 lines
491 B
Go
24 lines
491 B
Go
package ebaiapi
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.rosy.net.cn/baseapi"
|
|
"git.rosy.net.cn/baseapi/utils"
|
|
)
|
|
|
|
func TestOrderRatesGet(t *testing.T) {
|
|
commentList, err := api.OrderRatesGet("100119", 0, utils.DefaultTimeValue, utils.DefaultTimeValue, -1)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
baseapi.SugarLogger.Debug(utils.Format4Output(commentList, false))
|
|
}
|
|
|
|
func TestOrderRatesReply(t *testing.T) {
|
|
err := api.OrderRatesReply("100119", 0, "commentID", "hello")
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|