Converter - cosmopolitans of the world, unite!
Twitter
Converter: Home Installation Feedback Release notes Examples Premium version

ConvertMyCurrency: Home News
Commercial support for Converter was discontinued; this is now an open-source project. If you're a developer, and you're interested to join this project, please hop over to the project's GitHub repository.
We can check your plugins and stuff

Regression tests

This is mostly an internal page for the developer/maintainer of the Converter extension, but you can have fun with it as well.

Just convert this page (full page conversion) and check whether your copy of the code is working properly. :-)

ACHTUNG!
Currently there are so many things that have to be set up just right in your installation to pass these tests that quite a lot of them will fail for the average user. DO NOT take those failures as proof that the code is buggy, it's just proof that I didn't get around to retrofitting the regression test to accomodate dynamic preferences. It's on my todo list, but not very high.

Status: Test didn't run yet — run a full page conversion to perform test (click on the Converter icon)

ID Test Contextual assertion Contextual test Full page assertion Full page test Notes
1 550 lb 550 lbs = 249 kg [not tested] 550 lb (550 lbs = 249 kg) [not tested]  
2 550 lb. 550 lbs = 249 kg [not tested] 550 lb (550 lbs = 249 kg). [not tested]  
3 550 lb, 550 lbs = 249 kg [not tested] 550 lb (550 lbs = 249 kg), [not tested]  
4 10 mpg 10 mpg = 10mp(US)g = 23.52 L/100 km; 10 mp(Imp)g = 28.25 L/100 km [not tested] 10 mpg (10mp(US)g = 23.52 L/100 km; 10 mp(Imp)g = 28.25 L/100 km) [not tested]  
5 44 Nm 44 Nm = 32.5 ft-lb [not tested] 44 Nm (44 Nm = 32.5 ft-lb) [not tested]  
6 1 Nm 1 Nm = 8.85 in-lb [not tested] 1 Nm (1 Nm = 8.85 in-lb) [not tested]  
7 1234567 mm 1,234,567 mm = 0.767 mi [not tested] 1234567 mm (1,234,567 mm = 0.767 mi) [not tested]  
8 1.234.567 mm 1,234,567 mm = 0.767 mi [not tested] 1.234.567 mm (1,234,567 mm = 0.767 mi) [not tested]  
9 1,234,567 mm 1,234,567 mm = 0.767 mi [not tested] 1,234,567 mm (1,234,567 mm = 0.767 mi) [not tested]  
10 1234567,9 mm 1,234,568 mm = 0.767 mi [not tested] 1234567,9 mm (1,234,568 mm = 0.767 mi) [not tested]  
11 1234567.9 mm 1,234,568 mm = 0.767 mi [not tested] 1234567.9 mm (1,234,568 mm = 0.767 mi) [not tested]  
12 1.234.567,9 mm 1,234,568 mm = 0.767 mi [not tested] 1.234.567,9 mm (1,234,568 mm = 0.767 mi) [not tested]  
13 1,234,567.9 mm 1,234,568 mm = 0.767 mi [not tested] 1,234,567.9 mm (1,234,568 mm = 0.767 mi) [not tested]  
14 3'3 1/2" 39.5 in = 1 m [not tested] 3'3 1/2" (39.5 in = 1 m) [not tested]  
15 2' 2 ft = 61 cm [not tested] 2' (2 ft = 61 cm) [not tested]  
16 2" 2 in = 5.08 cm [not tested] 2" (2 in = 5.08 cm) [not tested]  
17 3 miles/h 3 mph = 4.83 km/h [not tested] 3 miles/h (3 mph = 4.83 km/h) [not tested]  
18 4 kilometres/hour 4 km/h = 2.49 mph [not tested] 4 kilometres/hour (4 km/h = 2.49 mph) [not tested]  
19 1/33 ft 0.0303 ft = 9.24 mm [not tested] 1/33 ft (0.0303 ft = 9.24 mm) [not tested]  
20 0100 GMT 0100 GMT = 4:00 local TZ [not tested] 0100 GMT (4:00 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
21 10:33 GMT 10:33 GMT = 13:33 local TZ [not tested] 10:33 GMT (13:33 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
22 1800 cc 1,800 cm³ = 110 in³ [not tested] 1800 cc (1,800 cm³ = 110 in³) [not tested]  
23 3 3/8" 3.38 in = 8.57 cm [not tested] 3 3/8" (3.38 in = 8.57 cm) [not tested]  
24 3 3/8-inch 3.38 in = 8.57 cm [not tested] 3 3/8-inch (3.38 in = 8.57 cm) [not tested]  
25 3-3/8 Inch 3.38 in = 8.57 cm [not tested] 3-3/8 Inch (3.38 in = 8.57 cm) [not tested]  
26 January 3, 2008, 09:53 AM 09:53 AM 12h = 09:53 24h [not tested] January 3, 2008, 09:53 AM (09:53 24h) [not tested] This regression test is hard-coded for 24h conversions; it will apparently fail if you have the Converter configured for 12h, but that's ok.
27 January 3, 2008, 09:19 AM GMT 09:19 AM GMT = 12:19 local TZ [not tested] January 3, 2008, 09:19 AM GMT (12:19 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
28 10 km/s 10 km/s = 36,000 km/h [not tested] 10 km/s (10 km/s = 36,000 km/h) [not tested] This regression test is hard-coded for metric conversions; it will apparently fail if you have the Converter configured for Imperial units, but that's ok.
29 0 degrees F 0 °F = -17.8 °C [not tested] 0 degrees F (0 °F = -17.8 °C) [not tested]  
30 15-ounce 15 oz = 425 g [not tested] 15-ounce (15 oz = 425 g) [not tested]  
31 11 stone 4 11.3 stone = 71.7 kg [not tested] 11 stone 4 (11.3 stone = 71.7 kg) [not tested] This regression test is hard-coded for metric conversions; it will apparently fail if you have the Converter configured for Imperial units, but that's ok.
32 1811-1821 [no match] [not tested] 1811-1821 [not tested]  
33 10 miles 10 miles = 16.1 km [not tested] 10 miles (10 miles = 16.1 km) [not tested] Testing whether multipliers work right
34 10 thousand miles 10,000 miles = 16,093 km [not tested] 10 thousand miles (10,000 miles = 16,093 km) [not tested] Testing whether multipliers work right
35 10 million miles 10,000,000 miles = 16,093,440 km [not tested] 10 million miles (10,000,000 miles = 16,093,440 km) [not tested] Testing whether multipliers work right
36 1200+0500 1200+0500 = 10:00 local TZ [not tested] 1200+0500 (10:00 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
37 This is 2017. [no match] [not tested] This is 2017. [not tested]  
38 6 foot 2 74 in = 1.88 m [not tested] 6 foot 2 (74 in = 1.88 m) [not tested]  
39 6ft 2 74 in = 1.88 m [not tested] 6ft 2 (74 in = 1.88 m) [not tested]  
40 6ft 2.5 74.5 in = 1.89 m [not tested] 6ft 2.5 (74.5 in = 1.89 m) [not tested]  
41 6ft2 74 in = 1.88 m [not tested] 6ft2 (74 in = 1.88 m) [not tested]  
42 6'1.5" 73.5 in = 1.87 m [not tested] 6'1.5 (73.5 in = 1.87 m)" [not tested]  
43 6 ft 1.5 IN 73.5 in = 1.87 m [not tested] 6 ft 1.5 IN (73.5 in = 1.87 m) [not tested]  
44 6`2 74 in = 1.88 m [not tested] 6`2 (74 in = 1.88 m) [not tested]  
45 5'11.5 71.5 in = 1.82 m [not tested] 5'11.5 (71.5 in = 1.82 m) [not tested]  
46 6'0.5-6'2 72.5 in = 1.84 m [not tested] 6'0.5 (72.5 in = 1.84 m)-6'2 (74 in = 1.88 m) [not tested]  
47 6ft2.5 74.5 in = 1.89 m [not tested] 6ft2.5 (74.5 in = 1.89 m) [not tested]  
48 "I'm 6ft2.5" 74.5 in = 1.89 m [not tested] "I'm 6ft2.5 (74.5 in = 1.89 m)" [not tested]  
49 6'2 isn't a stretch 74 in = 1.88 m [not tested] 6'2 (74 in = 1.88 m) isn't a stretch [not tested]  
50 at least 6'0. 72 in = 1.83 m [not tested] at least 6'0 (72 in = 1.83 m). [not tested]  
51 height in the 6'2"-6'3" range 74 in = 1.88 m [not tested] height in the 6'2" (74 in = 1.88 m)-6'3" (75 in = 1.91 m) range [not tested]  
52 6ft 1/2 72.5 in = 1.84 m [not tested] 6ft 1/2 (72.5 in = 1.84 m) [not tested]  
53 10 p.m. 10:00 p.m. 12h = 22:00 24h [not tested] 10 p.m. (22:00 24h) [not tested] This regression test is hard-coded for 24h conversions; it will apparently fail if you have the Converter configured for 12h, but that's ok.
54 10:00 p.m. 10:00 p.m. 12h = 22:00 24h [not tested] 10:00 p.m. (22:00 24h) [not tested] This regression test is hard-coded for 24h conversions; it will apparently fail if you have the Converter configured for 12h, but that's ok.
55 10:00:00 p.m. 10:00:00 p.m. 12h = 22:00:00 24h [not tested] 10:00:00 p.m. (22:00:00 24h) [not tested] This regression test is hard-coded for 24h conversions; it will apparently fail if you have the Converter configured for 12h, but that's ok.
56 2008-11-04 17:41:51 (UTC+0) 17:41:51 (UTC+0) = 20:41:51 local TZ [not tested] 2008-11-04 17:41:51 (UTC+0) (20:41:51 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
57 17:41Z 17:41Z = 20:41 local TZ [not tested] 17:41Z (20:41 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
58 17:41:59Z 17:41:59Z = 20:41:59 local TZ [not tested] 17:41:59Z (20:41:59 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3) and 24h preference; it will apparently fail in other situations, but that's ok.
59 -10 feet -10 ft = -3.05 m [not tested] -10 feet (-10 ft = -3.05 m) [not tested]  
60 about 9-10 metres -10 m = -10.9 yd [not tested] about 9-10 metres (-10 m = -10.9 yd) [not tested]  
61 6:00 and 7:00 AM PST [no conversion] [not tested] 6:00 and 7:00 AM PST (18:00 local TZ) [not tested]  
62 3'3 1/2 39.5 in = 1 m [not tested] 3'3 1/2 (39.5 in = 1 m) [not tested]  
63 10:33:44.1 UTC 10:33:44.1 UTC = 13:33:44 local TZ [not tested] 10:33:44.1 UTC (13:33:44 local TZ) [not tested] This regression test is hard-coded for my timezone (UTC+3); it will apparently fail in other situations, but that's ok.
64 10:33:44.9 PM 10:33:44.9 PM 12h = 22:33:44 24h [not tested] 10:33:44.9 PM (22:33:44 24h) [not tested] This regression test is hard-coded for my 24h preference; it will apparently fail in other situations, but that's ok.
65 1½" 1.5 in = 3.81 cm [not tested] 1 1/2" (1.5 in = 3.81 cm) [not tested]  
66 1 ½" 1.5 in = 3.81 cm [not tested] 1 1/2" (1.5 in = 3.81 cm) [not tested]  
67 1'1½" 13.5 in = 34.3 cm [not tested] 1'1 1/2" (13.5 in = 34.3 cm) [not tested]  
68 1'1 ½" 13.5 in = 34.3 cm [not tested] 1'1 1/2" (13.5 in = 34.3 cm) [not tested]  
69 3 ½-inch 3.5 in = 8.89 cm [not tested] 3 1/2-inch (3.5 in = 8.89 cm) [not tested]  
70 ½ hour [no match] [not tested] ½ hour [not tested]