请为以下程序段设计测试用例集,要求满足条件语句覆盖、判定覆盖和条件覆盖。
public int do work(int A,int B){
int x=0;
if((A>4) && (B<9))
(x=A-B;)
if(A==5&&B>28)
(x=A+B;)
return x;
}
1、if((A>4) && (B>=9))
x=0
2、if((A>4) && (B<9))
x=A-B
3、if((A<4) && (B<9))
x=0
4、if((A<4) && (B>9))
x=0
5、if((A==5) && (B<=28))
x=0
6、if((A==5) && (B>28))
x=A+B
7、if((A≠5) && (B>28))
x=0
8、if((A≠5) && (B<28))
x=0