First, try to find out all possible failing cases, then check if it can be passed.
If passed, implement regular codes ......