I know I could compare my theoretical value to the 95%CI of the estimated median but I'd like to know if another method exists. I mean a method that could determine, under the theoretical median survival time, a 95% interval. Thus the test will be significant if the observed median is outside this interval.
I've already done some simulations to do that, but I suppose something more robust exists.