Test log() simplification errors
()
| 748 | #[test] |
| 749 | // Test log() simplification errors |
| 750 | fn test_log_simplify_errors() { |
| 751 | let context = SimplifyContext::default(); |
| 752 | // Expect 0 args to error |
| 753 | let _ = LogFunc::new().simplify(vec![], &context).unwrap_err(); |
| 754 | // Expect 3 args to error |
| 755 | let _ = LogFunc::new() |
| 756 | .simplify(vec![lit(1), lit(2), lit(3)], &context) |
| 757 | .unwrap_err(); |
| 758 | } |
| 759 | |
| 760 | #[test] |
| 761 | // Test that non-simplifiable log() expressions are unchanged after simplification |
nothing calls this directly
no test coverage detected
searching dependent graphs…