Conversions: Adding singular output test for speed

master
Rob Emery 2016-03-13 13:06:03 +00:00
parent 90d43831c2
commit 5b26e3a27c
1 changed files with 13 additions and 0 deletions

View File

@ -2577,6 +2577,19 @@ ddg_goodie_test(
physical_quantity => 'speed'
})
),
'0.6214 mph to kph' => test_zci(
'0.6214 mph = 1 km/h',
structured_answer => make_answer({
markup_input => '0.6214',
raw_input => '0.6214',
from_unit => 'mph',
styled_output => '1',
raw_answer => '1',
to_unit => 'km/h',
physical_quantity => 'speed'
})
),
# Intentionally untriggered
'5 inches in 5 meters' => undef,