assertThat ( testedNumber, allOf( greaterThan(5), lessThan(11) ) );. anyOf匹配符表明如果接下来的所有条件只要有一个成立则测试通过,相当 ...
確定! 回上一頁