mirror of https://github.com/rm-dr/daisy
Added function tests
parent
f7153f6589
commit
9de3104074
|
@ -216,4 +216,11 @@ fn complex_units() {
|
|||
good_expr("120 m", "(2 min) * (1 m/s)");
|
||||
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)");
|
||||
}
|
Loading…
Reference in New Issue