* Conversions: JS error * Conversions: JS error (#4551) * Conversions: JS error (#4551) * Conversions: JS error (#4551)master
parent
e6b1b62739
commit
cbd6dad6c1
|
@ -619,7 +619,7 @@ DDH.conversions = DDH.conversions || {};
|
||||||
{ symbol: 'millilitre', name: 'Millilitre' },
|
{ symbol: 'millilitre', name: 'Millilitre' },
|
||||||
{ symbol: 'hectolitre', name: 'Hectolitre' },
|
{ symbol: 'hectolitre', name: 'Hectolitre' },
|
||||||
{ symbol: 'decalitre', name: 'Decalitre' },
|
{ symbol: 'decalitre', name: 'Decalitre' },
|
||||||
{ symbol: 'deciliter', name: 'Decilitre' },
|
{ symbol: 'decilitre', name: 'Decilitre' },
|
||||||
{ symbol: 'centilitre', name: 'Centilitre' },
|
{ symbol: 'centilitre', name: 'Centilitre' },
|
||||||
{ symbol: 'cc', name: 'Cubic Centimeter' },
|
{ symbol: 'cc', name: 'Cubic Centimeter' },
|
||||||
{ symbol: 'cuin', name: 'Cubic Inch' },
|
{ symbol: 'cuin', name: 'Cubic Inch' },
|
||||||
|
|
|
@ -2202,6 +2202,14 @@ ddg_goodie_test(
|
||||||
physical_quantity => 'volume'
|
physical_quantity => 'volume'
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
'1/3 cups in deciliters' => test_zci(
|
||||||
|
'', structured_answer => make_answer({
|
||||||
|
raw_input => '0.3333',
|
||||||
|
from_unit => 'uscup',
|
||||||
|
to_unit => 'decilitre',
|
||||||
|
physical_quantity => 'volume'
|
||||||
|
})
|
||||||
|
),
|
||||||
'miles to nautical' => test_zci(
|
'miles to nautical' => test_zci(
|
||||||
'', structured_answer => make_answer({
|
'', structured_answer => make_answer({
|
||||||
raw_input => '1',
|
raw_input => '1',
|
||||||
|
@ -2211,7 +2219,7 @@ ddg_goodie_test(
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
||||||
# single unit queries with no number
|
# single unit queries with no number
|
||||||
'grams' => test_zci(
|
'grams' => test_zci(
|
||||||
'', structured_answer => make_answer({
|
'', structured_answer => make_answer({
|
||||||
raw_input => '1',
|
raw_input => '1',
|
||||||
|
|
Loading…
Reference in New Issue