Max Circular Subarray sum

I have tried a few test cases and also the one in problem,answer is correct.I also tried with all negative numbers but im not passing any test case what is wrong?