Junit
可儿杨
努力不一定有回报,不努力一定没有回报、、
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Junit学习笔记(一)
1.>Eclipse中自带了junit中所需的两个jar包原创 2014-04-16 02:35:24 · 515 阅读 · 0 评论 -
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 · 403 阅读 · 0 评论 -
Junit学习笔记(二)
方法assertTrue(2 > 4) 与方法assertTrue(2 > 4)原创 2014-04-16 09:22:52 · 486 阅读 · 0 评论 -
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 · 581 阅读 · 0 评论
分享