Template:Convert/testcases


 * Live version tested:
 * Sandbox version tested:
 * Module tested in this sandbox:
 * All /testcases/ pages

{cvt} testcases
To compare: abbr options in and
 * {convert|10|km|mi}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=in}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=off}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=none}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=on}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=out}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=values}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=~}} → 10 km
 * {cvt|...} &rarr; 10 km


 * {convert|10|km|mi|abbr=foo}} → 10 km
 * {cvt|...} &rarr; 10 km

Sandbox testcases
The following test the sandbox modules by comparing the output of convert/sandbox with fixed wikitext. The results should be examined when the sandbox modules are changed.

The sandbox testcases contain almost all the converts from the tests listed in other sections on this page, and extra tests.

Testcases by unit type
The following compare the output of convert/old with that from convert. The former uses the system of templates from before December 2013, while the latter uses the convert modules.

Other testcases
The following compare the output of convert/old with that from convert. The former uses the system of templates from before December 2013, while the latter uses the convert modules.