Test case for rain water harvesting not getting clear

I didn’t get what are u trying to do in ur code. Where are u facing problem?