From 2438a76301adfd111750d61d733fc7dd01c6c0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=BCndler?= Date: Thu, 31 Oct 2019 10:29:23 +0800 Subject: [PATCH] Add derivations of litre --- quantulum3/_lang/en_US/tests/quantities.json | 12 ++++ quantulum3/units.json | 60 +++++++++++++++++++- 2 files changed, 71 insertions(+), 1 deletion(-) diff --git a/quantulum3/_lang/en_US/tests/quantities.json b/quantulum3/_lang/en_US/tests/quantities.json index c26c3e7..ffbf468 100644 --- a/quantulum3/_lang/en_US/tests/quantities.json +++ b/quantulum3/_lang/en_US/tests/quantities.json @@ -1251,6 +1251,18 @@ "req": "I arrived at 2.13 am.", "res": [] }, + { + "req": "Lets take the large 100 cl bottle instead.", + "res": [ + { + "value": 100, + "unit": "centilitre", + "surface": "100 cl", + "entity": "volume", + "uncertainty": null + } + ] + }, { "req": "The bank robbery begun at 2pm and was over until 2.17pm.", "res": [] diff --git a/quantulum3/units.json b/quantulum3/units.json index a9c9ce0..c9de032 100644 --- a/quantulum3/units.json +++ b/quantulum3/units.json @@ -1048,7 +1048,65 @@ "symbols": [ "l", "L", - "ltr" + "ltr", + "ℓ" + ] + }, + { + "name": "centilitre", + "surfaces": [ + "centiliter", + "centilitre" + ], + "entity": "volume", + "URI": "Centilitre", + "dimensions": [ + { + "base": "centimetre", + "power": 3 + } + ], + "symbols": [ + "cl", + "cL" + ] + }, + { + "name": "hectolitre", + "surfaces": [ + "hectorlitre", + "hectorliter" + ], + "entity": "volume", + "URI": "Hectolitre", + "dimensions": [ + { + "base": "decimetre", + "power": 3 + } + ], + "symbols": [ + "hl", + "hL" + ] + }, + { + "name": "decilitre", + "surfaces": [ + "decilitre", + "deciliter" + ], + "entity": "volume", + "URI": "Decilitre", + "dimensions": [ + { + "base": "centimetre", + "power": 3 + } + ], + "symbols": [ + "dl", + "dL" ] }, {