Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the tri ...
分类:
其他好文 时间:
2017-03-12 15:05:01
阅读次数:
128
Triangle Problem songxiuhuan 宋修寰 Import the Junit and eclemma Choose the project and right click, choose the build path and choose the Junit and hamcr ...
分类:
其他好文 时间:
2017-03-12 14:56:29
阅读次数:
183
3014218071 王汉超 [Deadline: 23:59:59, Mar.12, 2017] ...
分类:
其他好文 时间:
2017-03-12 13:34:09
阅读次数:
190
步骤: 1、安装JDK以及Eclipse,搭建基础环境; 2、创建一个新的JAVA project如下图所示: 3、配置Junit和Hamcrest: 3.1、预先下载这两个包,点击上图的next按钮,会出现下图: 3.2、点击libraries按钮,出现下面: 3.3、点击Add External ...
分类:
其他好文 时间:
2017-03-12 11:11:30
阅读次数:
211
本次实验主要配置安装了JUnit以及Eclemma,并使用了JUnit进行断言测试。 1. 安装JUnit以及Eclemma 下载Junit以及Hamcresta的jar包,在工程build path中点击Configure build path加入,在其中点击Add External JARs.. ...
分类:
其他好文 时间:
2017-03-11 12:56:03
阅读次数:
171
本次实验是Junit,hamcrest,eclemma单元测试的基础应用,从安装开始。这里选择的语言是java,IDE为Eclipse(MARS.2) 1)安装junit, hamcrest 和 eclemma 1.1 安装juint,hamcrest 这两个的安装我使用了同一种方法,即导入jar包 ...
分类:
编程语言 时间:
2017-03-11 12:50:07
阅读次数:
317
设计三角形问题的程序 输入三个整数a、b、c,分别作为三角形的三条边,现通过程序判断由三条边构成的三角形的类型为等边三角形、等腰三角形、一般三角形(特殊的还有直角三角形),以及不构成三角形。(等腰直角三角形,判断为等腰三角形) 现在要求输入三个整数a、b、c,必须满足以下条件: 条件1 1≤a≤10 ...
分类:
其他好文 时间:
2017-03-10 20:49:03
阅读次数:
136
设计三角形问题的程序 输入三个整数a、b、c,分别作为三角形的三条边,现通过程序判断由三条边构成的三角形的类型为等边三角形、等腰三角形、一般三角形(特殊的还有直角三角形),以及不构成三角形。(等腰直角三角形,判断为等腰三角形) 现在要求输入三个整数a、b、c,必须满足以下条件: 条件1 1≤a≤10 ...
分类:
其他好文 时间:
2017-03-10 14:06:17
阅读次数:
221
今天什么都没发生 leetcode118 https://leetcode.com/problems/pascals-triangle/?tab=Description leetcode169 https://leetcode.com/problems/majority-element/?tab=D ...
分类:
其他好文 时间:
2017-03-06 21:18:46
阅读次数:
251
120. Triangle Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example ...
分类:
其他好文 时间:
2017-03-01 17:51:28
阅读次数:
219