This series is from another question:
$$\sum_{k=1}^\infty\frac{(-1)^k}{2k-1} \cos(2k-1)$$
There, its value $-\pi/4$ is immediately determined. But how to be sure, a priori, that the series would converge?
I am new as regards this topic. I tried the Leibniz test, but it fails: due to the cosine, the series may not have alternating signs, even for large $n$. Then, how to determine if the series is convergent?