User:Johnuniq/convert tests/module

Currently this is to test Module:Convert/tester.

Assuming that tests are at User:Johnuniq/convert tests/module, can run the tests by previewing the following in any sandbox:

Or, can specify the name of a section heading (case sensitive) for just the tests in that section.

Empty
This is just some dummy text with no templates.

No expected results
5+3/4 in 2 cuyd 1 x 1 x 1 xx 1 xx

5+3/4 in 2 cuyd 1 x 1 x 1 xx 1 xx 1 * 1 *

Length
100 in                            100 inches (250 cm) 100 in                   100 inches (250 centimetres) 100 in                    100 in (250 cm) 100 in                    100 in (250 centimetres) 100 in                   100 inches (250 cm) 100 in                100 (250)

100 in                  250 centimetres (100 in) 100 in         250 centimetres (100 inches) 100 in          250 cm (100 in) 100 in          250 cm (100 inches) 100 in         250 centimetres (100 in) 100 in      250 (100)

2 cuyd                     cubic yards 2 cuyd              cubic-yard 2 cuyd                               2 cubic yards (1.5 m3) 2 cuyd         2-cubic-yard extra text (1.5 m3) 2 cuyd                        2-cubic-yard (1.5 m3)

10000 in                        10,000 inches (833.33 ft) 100 in                            100 inches (250 cm) 10 ft                             10 feet (120 in) 120 in                            120 inches (10 ft) 10 mi                           10 miles (16.0934 km) 10 mi                    10 miles (16.09 km) 10 mi                             10 miles (16 km) 10 mi                              10 miles (16.093 km)

sp=us
10 m                             10 metres (1.0 dam) 0.1 dam                            0.1 decametres (1.0 m) 123.45 m                          123.45 metres (12.345 dam) 1.2345 dam                         1.2345 decametres (12.345 m) 10 m                     10 metres (1.0 decametre) 0.1 dam                   0.1 decametres (1.0 metre) 123.45 m                123.45 metres (12.345 decametres) 1.2345 dam                1.2345 decametres (12.345 metres) 10 m                       10 meters (1.0 dam) 0.1 dam                            0.1 decametres (1.0 m) 123.45 m                    123.45 meters (12.345 dam) 1.2345 dam                   1.2345 dekameters (12.345 m) 10 m               10 meters (1.0 dekameter) 0.1 dam             0.1 dekameters (1.0 meter) 123.45 m          123.45 meters (12.345 dekameters) 1.2345 dam          1.2345 dekameters (12.345 meters)

Rounding with ft
1729 m                            1,729 metres (5,673 ft) 1729.5 m                          1,729.5 metres (5,674 ft) 1730 m                            1,730 metres (5,680 ft) 1730.5 m                          1,730.5 metres (5,677 ft) 1729 km                           1,729 kilometres (5,673,000 ft) 1729.5 km                         1,729.5 kilometres (5,674,000 ft) 1730 km                           1,730 kilometres (5,680,000 ft) 1730.5 km                         1,730.5 kilometres (5,677,000 ft)

Ranges
5 to 12 kg                           5 to 12 kilograms (11 to 26 lb) 5 to 12 kg                        5 to 12 kilograms (11 to 26 lb) 5 to 12 kg                  5 to 12 kilograms (11 to 26 pounds) 5 to 12 kg               5 to 12 kilograms (11 to 26 pounds) 5 to(-)                        5 to 12 kilograms (11–26 lb) 5 to(-)                     5 to 12 kilograms (11–26 lb) 5 to(-)               5 to 12 kilograms (11 to 26 pounds) 5 to(-)            5 to 12 kilograms (11 to 26 pounds) 5 - 12 kg                            5–12 kilograms (11–26 lb) 5 - 12 kg                         5–12 kilograms (11–26 lb) 5 - 12 kg                   5–12 kilograms (11–26 pounds) 5 - 12 kg                5–12 kilograms (11–26 pounds) 5 and 12 kg                          5 and 12 kilograms (11 and 26 lb) 5 and 12 kg                       5 and 12 kilograms (11 and 26 lb) 5 and 12 kg                 5 and 12 kilograms (11 and 26 pounds) 5 and 12 kg              5 and 12 kilograms (11 and 26 pounds) 1 x                     1 by 2.5 feet (0.30 m × 0.76 m) 1 x             1 by 2.5 feet (0.30 by 0.76 metres) 1 x             1 ft × 2.5 ft (0.30 m × 0.76 m) 1 - 2 ft               1 foot–2 feet (0.30–0.61 m) 1 x              1 feet by 2 feet (0.30 m × 0.61 m) 1 e9m3          1 billion cubic metres (35 billion cubic feet) 1 mpgus                 1 mile per US gallon (1.2 mpg-imp) 9 e9m3         9 billion cubic metres (320 billion cubic feet) 9 mpgus                 9 miles per US gallon (11 mpg-imp) 3 x                    3 by 4 inches (76 mm × 100 mm) 3 x            3 in × 4 in (76 mm × 100 mm) 3 x           3 by 4 inches (76 by 100 millimetres) 12 impgal                12 imperial gallons (14 US gal)

adj=xxx
0.12 km                     0.12 kilometre (130 yd) 12 km                       12 kilometres (13,000 yd) 12 km                    13,000 yards (12 km) 12 km                       12 kilometres (13,000 yd) 12 km               12-kilometre FIRST (13,000 yd) 12 km                 12 kilometres (13000 yd) 12 km                     12 kilometres (13,000 yd) 12 km                      12-kilometre (13,000 yd) 12 km               12 FIRST kilometres (13,000 yd) 123.4456 km                       123.4456 kilometres (135,001.7 yd) 123.4456 km               123.4 kilometres (135,001.7 yd) 123.4456 km               123.45 kilometres (135,001.7 yd) 123.4456 km               123.446 kilometres (135,001.7 yd)

Tests which output nothing
What does the tester do with these? 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 in 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ 1234.56789 GJ