Assert 類是JUNIT從4.0版本進行新增的它是一組編寫測試用例時使用的斷言(斷言 ... 匯入:import static org.junit.Assert.*; 類方法就可以直接使用了。
確定! 回上一頁