- 博客(4)
- 收藏
- 关注
原创 Junit学习笔记(四)
/** * * @author KerYang * */package com.keryang.junit.instance.junittest;import static org.junit.Assert.*;import static org.hamcrest.Matchers.*;import org.junit.After;import org.junit.Af
2014-04-16 10:58:34 355
原创 Junit学习笔记(三)
1. 示例a) assertThat( n, allOf( greaterThan(1), lessThan(15) ) );assertThat( n, anyOf( greaterThan(16), lessThan(8) ) );assertThat( n, anything() );assertThat( str, is( "bjsxt" ) );assertThat(
2014-04-16 10:08:35 509
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人