Continuous testing for the Ripley’s K-function of spatial point processes