Fix some tests

This commit is contained in:
thepaperpilot 2023-03-23 20:59:41 -05:00
parent c3b5f2cdad
commit d7e2658304

View file

@ -71,8 +71,11 @@ export default class Formula<T extends [FormulaSource] | FormulaSource[]> {
this.inputs = readonlyProperties.inputs; this.inputs = readonlyProperties.inputs;
this.internalHasVariable = readonlyProperties.internalHasVariable; this.internalHasVariable = readonlyProperties.internalHasVariable;
this.innermostVariable = readonlyProperties.innermostVariable; this.innermostVariable = readonlyProperties.innermostVariable;
this.internalEvaluate = readonlyProperties.internalEvaluate;
this.internalInvert = readonlyProperties.internalInvert;
this.internalIntegrate = readonlyProperties.internalIntegrate; this.internalIntegrate = readonlyProperties.internalIntegrate;
this.internalIntegrateInner = readonlyProperties.internalIntegrateInner; this.internalIntegrateInner = readonlyProperties.internalIntegrateInner;
this.internalInvertIntegral = readonlyProperties.internalInvertIntegral;
this.applySubstitution = readonlyProperties.applySubstitution; this.applySubstitution = readonlyProperties.applySubstitution;
} }
@ -135,13 +138,13 @@ export default class Formula<T extends [FormulaSource] | FormulaSource[]> {
return { return {
inputs, inputs,
internalEvaluate: evaluate, internalEvaluate: evaluate,
internalInvert,
internalIntegrate: integrate, internalIntegrate: integrate,
internalIntegrateInner: integrateInner, internalIntegrateInner: integrateInner,
internalInvertIntegral,
applySubstitution, applySubstitution,
innermostVariable, innermostVariable,
internalHasVariable, internalHasVariable
internalInvert,
internalInvertIntegral
}; };
} }