If a sequence of functions $f_{n}$ converges pointwise to some function$f$, it doesn't imply uniform convergence but the converse is true.
My question is if we want to test the uniform convergence of a sequence of functions $f_{n}$ can we adopt the following proecdure:
Step1: Figure out the pointwise convergence of the sequence of functions, say $f_{n}$ converges to $f$.
Step2: Then find the integral of $f_{n}$ as well as integral of $f$. If the integrals are equal, then $f_{n}$ converges uniformly to $f$.
Is this a legit test? I am sure this is correct but I just want to clarify.