03 2018 档案

摘要:(a).Draw the control flow gragh for the printPrime() method (b) Consider test cases t1 = (n = 3) and t2 = ( n = 5). Although these tour the same prime 阅读全文
posted @ 2018-03-26 22:11 ckcklalala 阅读(141) 评论(0) 推荐(0) 编辑
摘要:本次使用junit对代码进行测试,首先安装hamcrest-core-1.3-javadoc.jar和junit-4.12.jar两个包。在工程的Configure Build Path中点击Java Build Path,然后Libraries中Add External JARS,然后在文件选择器 阅读全文
posted @ 2018-03-25 22:57 ckcklalala 阅读(226) 评论(0) 推荐(0) 编辑
摘要:函数 findlast: 1.循环条件中,i的大小判断条件为i>=0 2.当数组x为空时,不会执行fault x=[] 3.当寻找的y值,不在测试数组x中的第一位,即可执行含有fault的程序,但是无error x=[1,2,3] y=2 4.当数组x中没有 等于y值的成员时,执行了error,并没 阅读全文
posted @ 2018-03-12 20:10 ckcklalala 阅读(193) 评论(0) 推荐(0) 编辑
摘要:解决 refusing to merge unrelated histories 错误 阅读全文
posted @ 2018-03-12 19:18 ckcklalala 阅读(167) 评论(0) 推荐(0) 编辑
摘要:Visual Box下虚拟机 文件互传 阅读全文
posted @ 2018-03-12 19:16 ckcklalala 阅读(1454) 评论(0) 推荐(0) 编辑