Jump to content

Module talk:Infobox dim/testcases

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

All 66 tests passed.

test_dim
Test Live Sandbox Expected
checkY {{#invoke:Infobox dim|dim|length_km=20|width_km=30}} 15km 15km 15km
checkY {{#invoke:Infobox dim|dim|length_mi=20|width_mi=30}} 24km 24km 24km
checkY {{#invoke:Infobox dim|dim|width_km=20|length_km=30}} 15km 15km 15km
checkY {{#invoke:Infobox dim|dim|width_mi=20|length_mi=30}} 24km 24km 24km
checkY {{#invoke:Infobox dim|dim|length_km=20}} 10km 10km 10km
checkY {{#invoke:Infobox dim|dim|length_mi=20}} 16km 16km 16km
checkY {{#invoke:Infobox dim|dim|width_km=30}} 15km 15km 15km
checkY {{#invoke:Infobox dim|dim|width_mi=30}} 24km 24km 24km
checkY {{#invoke:Infobox dim|dim|area_km2=300}} 18km 18km 18km
checkY {{#invoke:Infobox dim|dim|area_mi2=200}} 24km 24km 24km
checkY {{#invoke:Infobox dim|dim|area_ha=30,000}} 18km 18km 18km
checkY {{#invoke:Infobox dim|dim|area_acre=75,000}} 18km 18km 18km
checkY {{#invoke:Infobox dim|dim|dim=50km}} 50km 50km 50km
checkY {{#invoke:Infobox dim|dim|scale=100000}} 10km 10km 10km
checkY {{#invoke:Infobox dim|dim|type=mountain}} 10km 10km 10km
checkY {{#invoke:Infobox dim|dim|type=mountain|width_km=no}} 10km 10km 10km
checkY {{#invoke:Infobox dim|dim|type=city|population=100000}} 12km 12km 12km
checkY {{#invoke:Infobox dim|dim|type=mountain|length_km=20}} 10km 10km 10km
checkY {{#invoke:Infobox dim|dim|length_km=20|viewport_cm=25}} 8km 8km 8km
checkY {{#invoke:Infobox dim|dim|length_km=20|viewport_px=800}} 8km 8km 8km
checkY {{#invoke:Infobox dim|dim|area_ha=blerg}}
checkY {{#invoke:Infobox dim|dim|}}
test_scale
Test Live Sandbox Expected
checkY {{#invoke:Infobox dim|scale|length_km=20|width_km=30}} 150000 150000 150000
checkY {{#invoke:Infobox dim|scale|length_mi=20|width_mi=30}} 241401 241401 241401
checkY {{#invoke:Infobox dim|scale|width_km=20|length_km=30}} 150000 150000 150000
checkY {{#invoke:Infobox dim|scale|width_mi=20|length_mi=30}} 241401 241401 241401
checkY {{#invoke:Infobox dim|scale|length_km=20}} 100000 100000 100000
checkY {{#invoke:Infobox dim|scale|length_mi=20}} 160934 160934 160934
checkY {{#invoke:Infobox dim|scale|width_km=30}} 150000 150000 150000
checkY {{#invoke:Infobox dim|scale|width_mi=30}} 241401 241401 241401
checkY {{#invoke:Infobox dim|scale|area_km2=300}} 180999 180999 180999
checkY {{#invoke:Infobox dim|scale|area_mi2=200}} 237838 237838 237838
checkY {{#invoke:Infobox dim|scale|area_ha=30,000}} 180999 180999 180999
checkY {{#invoke:Infobox dim|scale|area_acre=75,000}} 182056 182056 182056
checkY {{#invoke:Infobox dim|scale|dim=50km}} 500000 500000 500000
checkY {{#invoke:Infobox dim|scale|scale=100000}} 100000 100000 100000
checkY {{#invoke:Infobox dim|scale|type=mountain}} 100000 100000 100000
checkY {{#invoke:Infobox dim|scale|type=mountain|width_km=no}} 100000 100000 100000
checkY {{#invoke:Infobox dim|scale|type=city|population=100000}} 117907 117907 117907
checkY {{#invoke:Infobox dim|scale|type=mountain|length_km=20}} 100000 100000 100000
checkY {{#invoke:Infobox dim|scale|length_km=20|viewport_cm=25}} 80000 80000 80000
checkY {{#invoke:Infobox dim|scale|length_km=20|viewport_px=800}} 83333 83333 83333
checkY {{#invoke:Infobox dim|scale|area_ha=blerg}}
checkY {{#invoke:Infobox dim|scale|}}
test_zoom
Test Live Sandbox Expected
checkY {{#invoke:Infobox dim|zoom|length_km=20|width_km=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|length_mi=20|width_mi=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|width_km=20|length_km=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|width_mi=20|length_mi=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|length_km=20}} 10 10 10
checkY {{#invoke:Infobox dim|zoom|length_mi=20}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|width_km=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|width_mi=30}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|area_km2=300}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|area_mi2=200}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|area_ha=30,000}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|area_acre=75,000}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|dim=50km}} 9 9 9
checkY {{#invoke:Infobox dim|zoom|scale=100000}} 12 12 12
checkY {{#invoke:Infobox dim|zoom|type=mountain}} 10 10 10
checkY {{#invoke:Infobox dim|zoom|type=mountain|width_km=no}} 10 10 10
checkY {{#invoke:Infobox dim|zoom|type=city|population=100000}} 10 10 10
checkY {{#invoke:Infobox dim|zoom|type=mountain|length_km=20}} 10 10 10
checkY {{#invoke:Infobox dim|zoom|length_km=20|viewport_cm=25}} 12 12 12
checkY {{#invoke:Infobox dim|zoom|length_km=20|viewport_px=800}} 12 12 12
checkY {{#invoke:Infobox dim|zoom|area_ha=blerg}}
checkY {{#invoke:Infobox dim|zoom|}}

Start a discussion about improving the Module:Infobox dim/testcases page

Start a discussion