三、白盒测试 ■4、例题1:对该代码建立测试用例 Public Class Sample Dim A As Integer Dim B As integer DimⅩ As Double Sub xvalueo If(A> 1) And(B=OThen X=X/A End if If (A=2)Or(X> 1)Then X=+1 End If End sub End class三、白盒测试 ◼ 4、例题1:对该代码建立测试用例 Public Class Sample Dim A As Integer Dim B As Integer Dim X As Double Sub XValue() If (A > 1) And (B = 0) Then X = X / A End If If (A = 2) Or (X > 1) Then X = X + 1 End If End Sub End Class