- mtwmapi

This commit is contained in:
gazebo
2018-11-22 10:21:16 +08:00
parent 5a43ff8e20
commit 684a104a25
14 changed files with 1044 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package mtwmapi
import (
"testing"
)
func TestFoodList(t *testing.T) {
result, err := api.FoodList(testPoiCode, 0, 200)
if err != nil {
t.Fatal(err)
}
if len(result) == 0 {
t.Fatal("should have food")
}
// t.Log(result)
}