forked from vladoatanasov/valhalla-go-bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap_match_test.go
38 lines (35 loc) · 14.9 KB
/
map_match_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package valhalla
import (
"testing"
easyjson "github.com/mailru/easyjson"
)
func TestTraceRoute(t *testing.T) {
request := TraceRouteRequest{}
request.Costing = "auto"
request.EncodedPolyline = "u}vfaBzcxF^|CRjD?bAStBo@dC}@nBkAtAo@j@eD^gAKeA_@}@q@o@{@c@{@a@eASw@U_AWaBQmBuC_Ns@_D]uAwBuFa@iAcAaA}@_@w@IoB?yABwQrEiGbAkCzAm@\\}ALaAEOCy@Mw@Yy@_@qAo@iB[cCe@uBiAuBFwE\\yCf@eEX]@iATyA^mBf@oCbBs@bAw@hAs@zA_AtB_AxBmDjIgKxOSNaG|EkJ~EeG|BmDp@qFv@mANgHL{IP_DMs@CaHOmBCqAAoDGaFIiBCYAcEIuDGuAAuFPkCNi@DgCf@cE~@wBt@}At@{OrIuGbDqAp@y@`@sDfBoB`AuAp@oGbDqAp@aChAwFxC{FpCo@\\wAj@wAr@YLoAj@uItE{A`Co@XcDtAuCfAs@Gu@o@sAXwJ|CyC|@iK|CoVbIaA\\sAd@kEzAgBh@kA^eA\\iFbBgBf@{Bt@uTvHsWtB{AD{ANyIt@GcFMsGUaEQiC[qEq@sJ_AwKwAaOg@wGe@oFk@{Gq@sG}B}Vm@aHuAsP_AaNSsCgBuVMiB[sDk@qFcCnB}@r@{AjAcD`D_JrHeRxMQLeAv@oClBiCpB{AbAm@b@cAt@iG`FaDrC_D`D_CpCmEhFkC~CkFfGcUzVgAhAcVbXoKvLwBzBy@z@{@z@}AdB{BdC_@`@s@v@gRtSiIxIu@t@k@l@sBbC{AbBs@v@_AdA}@`AwP`Su\\p^kB|By@~@i@l@yAdB}AbBg@p@{AfBwEhFkg@vj@oCdDmAzAg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WoBvRqChYqBlTuB~Wy@hMcCl`@kAxRkAhVy@vVgBng@eFzpAw@|VuEn}A{Adf@KjHuD|}@yEp_BwEbrAsA~WyB~WaAvNuBbSqCnV}DxY{Hdc@kJz^{Kpb@sJvYcKbU_LdWoPxY{_@zf@_MtM_QpQeXvVcQjNqQbNyU`OmS`L_MlG_ZjNwYlKeZjJmZvIuVtFsGfAyLlBq^`Eod@tB{c@Ta^k@{c@_AwLQgYc@gp@?"
r, err := easyjson.Marshal(request)
if err != nil {
t.Fatalf("Error: %s", err.Error())
}
t.Logf("Request: %s", r)
resp, err := client.TraceRoute(request)
if err != nil {
t.Fatalf("Error: %s", err.Error())
}
t.Logf("Result: %+v", resp)
}
func TestTraceAttributes(t *testing.T) {
request := TraceAttributesRequest{}
request.Costing = "auto"
request.EncodedPolyline = "u}vfaBzcxF^|CRjD?bAStBo@dC}@nBkAtAo@j@eD^gAKeA_@}@q@o@{@c@{@a@eASw@U_AWaBQmBuC_Ns@_D]uAwBuFa@iAcAaA}@_@w@IoB?yABwQrEiGbAkCzAm@\\}ALaAEOCy@Mw@Yy@_@qAo@iB[cCe@uBiAuBFwE\\yCf@eEX]@iATyA^mBf@oCbBs@bAw@hAs@zA_AtB_AxBmDjIgKxOSNaG|EkJ~EeG|BmDp@qFv@mANgHL{IP_DMs@CaHOmBCqAAoDGaFIiBCYAcEIuDGuAAuFPkCNi@DgCf@cE~@wBt@}At@{OrIuGbDqAp@y@`@sDfBoB`AuAp@oGbDqAp@aChAwFxC{FpCo@\\wAj@wAr@YLoAj@uItE{A`Co@XcDtAuCfAs@Gu@o@sAXwJ|CyC|@iK|CoVbIaA\\sAd@kEzAgBh@kA^eA\\iFbBgBf@{Bt@uTvHsWtB{AD{ANyIt@GcFMsGUaEQiC[qEq@sJ_AwKwAaOg@wGe@oFk@{Gq@sG}B}Vm@aHuAsP_AaNSsCgBuVMiB[sDk@qFcCnB}@r@{AjAcD`D_JrHeRxMQLeAv@oClBiCpB{AbAm@b@cAt@i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KfG}IzHwUlTmSnS}HlGwIzFcGlFoFhFkEzFkCrIkCbKjAnI`@nI[lJqBbIoBxDkD`BsEAaGmBuGPiHbEoKtJoO|UoPvVoN|S{LfSeYph@{LlTgJjQaX`k@uThf@aJpTaSjg@aOpe@uMzg@qLzg@eLfk@uIfk@mEx[}CtWoBvRqChYqBlTuB~Wy@hMcCl`@kAxRkAhVy@vVgBng@eFzpAw@|VuEn}A{Adf@KjHuD|}@yEp_BwEbrAsA~WyB~WaAvNuBbSqCnV}DxY{Hdc@kJz^{Kpb@sJvYcKbU_LdWoPxY{_@zf@_MtM_QpQeXvVcQjNqQbNyU`OmS`L_MlG_ZjNwYlKeZjJmZvIuVtFsGfAyLlBq^`Eod@tB{c@Ta^k@{c@_AwLQgYc@gp@?"
r, err := easyjson.Marshal(request)
if err != nil {
t.Fatalf("Error: %s", err.Error())
}
t.Logf("Request: %s", r)
resp, err := client.TraceAttributes(request)
if err != nil {
t.Fatalf("Error: %s", err.Error())
}
t.Logf("Result: %+v", resp)
}