Does an inspection include a compression test or is that extra?

Looking at a used car in Al Safa and I’m particularly worried about engine health since it’s got decent mileage on it. I’m wondering whether a standard pre purchase inspection includes things like a compression test or if that’s something you have to request separately. I don’t want to assume the engine is fine just because it starts and idles. I read a Reliable breakdown of mechanic checks for used cars in Al Safa and it explained which tests are standard versus optional, which helped me understand what to ask for. So now I know to request the extra engine checks rather than just accepting the basic package. Has anyone paid for extra testing and found it was worth it, or did the standard inspection catch enough on its own?