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