Jump to content

Module talk:Road data/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

shield

Lua Sandbox
shield with parameters:
table#1 {
    ["country"] = "USA",
    ["route"] = "10",
    ["state"] = "ny",
    ["type"] = "I",
}
shield with parameters:
table#1 {
    ["country"] = "ITA",
    ["route"] = "5",
    ["type"] = "RA",
}
nil
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
nil
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
"normal (or anything)"
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
"list"
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
"main"
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["to"] = true,
    ["type"] = "Hwy",
}
nil
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["to"] = true,
    ["type"] = "Hwy",
}
"main"
"jct"
shield with parameters:
table#1 {
    ["country"] = "USA",
    ["route"] = "821",
    ["state"] = "FL",
    ["type"] = "Both",
}
nil
"jct"
shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
"main"
"infobox"
true
Highway 5 marker
shield with parameters:
table#1 {
    ["country"] = "USA",
    ["route"] = "821",
    ["state"] = "FL",
    ["type"] = "Both",
}
"main"
"infobox"
true
SR 821 markerSR 821 marker
shield with parameters:
table#1 {
    ["country"] = "USA",
    ["route"] = "821",
    ["state"] = "FL",
    ["to"] = true,
    ["type"] = "Both",
}


shield with parameters:
table#1 {
    ["country"] = "USA",
    ["dir"] = "north",
    ["route"] = "12",
    ["type"] = "I",
}

shield with parameters:
table#1 {
    ["country"] = "USA",
    ["dir"] = "north",
    ["route"] = "12",
    ["to"] = true,
    ["type"] = "I",
}


shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "9999",
    ["type"] = "Hwy",
}
shield with parameters:
table#1 {
    ["country"] = "USA",
    ["route"] = "90",
    ["to"] = true,
    ["type"] = "I",
}
nil
"120px"

shield with parameters:
table#1 {
    ["country"] = "CAN",
    ["province"] = "ON",
    ["route"] = "407",
    ["type"] = "Toll",
}
"main"
"rdt"
Lua Sandbox
link with parameters:
table#1 {
    ["route"] = "90",
    ["state"] = "NY",
    ["type"] = "I",
}
I-90
link with parameters:
table#1 {
    ["route"] = "90",
    ["state"] = "NY",
    ["type"] = "I",
}
true
Interstate 90
link with parameters:
table#1 {
    ["route"] = "10",
    ["state"] = "NY",
    ["type"] = "I",
}
I-10
link with parameters:
table#1 {
    ["country"] = "ITA",
    ["route"] = "5",
    ["type"] = "RA",
}
RA 5
link with parameters:
table#1 {
    ["country"] = "ITA",
    ["route"] = "5",
    ["type"] = "RA",
}
true
Raccordo autostradale 5
link with parameters:
table#1 {
    ["province"] = "ON",
    ["route"] = "5",
    ["type"] = "Hwy",
}
Highway 5