void TestLimit(Entity expr, Entity where, ApproachFrom appr, Entity desiredOutput) => Assert.Equal(desiredOutput.Simplify(), expr.Limit("x", where, appr).Simplify());
public void TestGeneral(string exprRaw, string destRaw, string expectedRaw, ApproachFrom appr = ApproachFrom.BothSides) => TestLimit(exprRaw, destRaw, appr, expectedRaw);