tests: implicit_mult
This commit is contained in:
parent
9b59323306
commit
8d26022403
1 changed files with 8 additions and 0 deletions
|
|
@ -4,6 +4,14 @@ use rug::Float;
|
|||
|
||||
use crate::nodes::{Function, Node, Nodes, Operator, PREC};
|
||||
|
||||
#[test]
|
||||
fn implicit_mult() {
|
||||
assert_eq!(
|
||||
Nodes::from_str("10 sin(10)").unwrap().evaluate().to_f64(),
|
||||
-5.440211108893698
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn constants() {
|
||||
assert_eq!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue