MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / route.js

File route.js

test/nodejs/route.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Test route service functionality with turn-by-turn directions
2import flatbuffers from 'flatbuffers';
3import test from 'tape';
4import { OSRM, FBResult, data_path as monaco_path, mld_data_path as monaco_mld_path, three_test_coordinates, two_test_coordinates } from './constants.js';

Callers

nothing calls this directly

Calls 7

getRootAsFBResultMethod · 0.80
waypointsLengthMethod · 0.80
routesLengthMethod · 0.80
routesMethod · 0.80
errorMethod · 0.80
routeMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected