如果需要是用assertThat需要在專案中引入junit4的jar包. ... getShares(), greaterThan(50)); //測試變數是否小於指定值assertThat(test1.
確定! 回上一頁