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.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<T extends [FormulaSource] | FormulaSource[]> {
return {
inputs,
internalEvaluate: evaluate,
internalInvert,
internalIntegrate: integrate,
internalIntegrateInner: integrateInner,
internalInvertIntegral,
applySubstitution,
innermostVariable,
internalHasVariable,
internalInvert,
internalInvertIntegral
internalHasVariable
};
}