From d7e26583045bbb2dcac71956667543c793ed9672 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 23 Mar 2023 20:59:41 -0500 Subject: [PATCH] Fix some tests --- src/game/formulas/formulas.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/game/formulas/formulas.ts b/src/game/formulas/formulas.ts index 30a2b20..d6eabcd 100644 --- a/src/game/formulas/formulas.ts +++ b/src/game/formulas/formulas.ts @@ -71,8 +71,11 @@ export default class Formula { this.inputs = readonlyProperties.inputs; this.internalHasVariable = readonlyProperties.internalHasVariable; this.innermostVariable = readonlyProperties.innermostVariable; + this.internalEvaluate = readonlyProperties.internalEvaluate; + this.internalInvert = readonlyProperties.internalInvert; this.internalIntegrate = readonlyProperties.internalIntegrate; this.internalIntegrateInner = readonlyProperties.internalIntegrateInner; + this.internalInvertIntegral = readonlyProperties.internalInvertIntegral; this.applySubstitution = readonlyProperties.applySubstitution; } @@ -135,13 +138,13 @@ export default class Formula { return { inputs, internalEvaluate: evaluate, + internalInvert, internalIntegrate: integrate, internalIntegrateInner: integrateInner, + internalInvertIntegral, applySubstitution, innermostVariable, - internalHasVariable, - internalInvert, - internalInvertIntegral + internalHasVariable }; }