From 625be634bfe60c00175b0d697792dbc88ec35e39 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 28 Jul 2023 09:21:59 -0700 Subject: [PATCH] Added a test --- src/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests.rs b/src/tests.rs index 0eebedf..cdd8568 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -210,4 +210,5 @@ fn complex_units() { good_expr("62.137 mi/h", "100 km/h to mph"); good_expr("20 mi", "10 mph * 2 hours"); good_expr("120 m", "1 (m/s) * 2 min"); + good_expr("120 m", "(2 min) * (1 m/s)"); } \ No newline at end of file