I know the Integral test is the following theorem:
Assume $f$ is continuous, positive, and decreasing on [$1, \infty$).
If $\int_1 ^{\infty}f(x)\,dx$ exists and is finite, then $\sum f(n)$ converges and vice versa.
I am searching for counterexamples to this test if:
(i) the condition positive is dropped;
(ii) the condition decreasing is dropped.
There can't be a convergent series or integral that's negative and decreasing, since it would by definition be above a given absolute value for sufficiently large n or t. So for negative, decreasing, and continuous, it's trivially true.
For decreasing, there's no reason you can't have a continuous (albeit not differentiable) function like a saw, with lines running to $\frac{1}{x^2}$ at integers, and 2 at the halfway points between integers. That would be a counterexample, since the integral between any two positive integers would never drop below 1, so the integral wouldn't converge, even though the series would.