(
onGuardUndecided?: (id: string, wc: object) => void
)
| 1292 | ce.expr(['Multiply', 'n', ['Factorial', ['Add', 'n', -1]]]) |
| 1293 | .simplify() |
| 1294 | .isSame(ce.expr(['Factorial', 'n'])) |
| 1295 | ).toBe(true); |
| 1296 | }); |
| 1297 | |
| 1298 | it('wrapped rules fire through an explicitly boxed full rule set [fungrim:4f20ff]', () => { |
| 1299 | // The subtle channel: ce.rules(ce.simplificationRules) boxes the raw |
| 1300 | // rule list (no purpose filtering, no engine cache) — the functional |
| 1301 | // wrappers must fire there too. |
| 1302 | const allRules = ce.rules(ce.simplificationRules); |
| 1303 | const result = ce |
no test coverage detected