Added function tests

pull/2/head
Mark 2023-08-01 10:01:32 -07:00
parent f7153f6589
commit 9de3104074
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 7 additions and 0 deletions

View File

@ -217,3 +217,10 @@ fn complex_units() {
good_expr("180", "1 Hz * 3 min");
good_expr("3600", "1 hour * 1 Hz");
}
#[test]
fn functions() {
good_expr("2", "nounit(2 mm)");
good_expr("2", "nounit(2 meter * second)");
//good_expr("5000 m²·g/(s²·A²)", "tobase(5H)");
}