2018年3月26日
摘要: 软件测试作业 题目要求: a) 流程图如下: b) Consider test cases ti = (n = 3) and t2 = ( n = 5). Although these tour the same prime paths in printPrime(), they don't nec 阅读全文
posted @ 2018-03-26 14:40 JDwu 阅读(1670) 评论(0) 推荐(0) 编辑
  2018年3月25日
摘要: 软件测试第一次实验 实验要求: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whethe 阅读全文
posted @ 2018-03-25 14:30 JDwu 阅读(130) 评论(0) 推荐(0) 编辑
  2018年3月12日
摘要: 1. answer:循环条件出错,i>0会忽略数组中的第一个值,故应改为i>=0. i>0 -> i>= 0 1.2 answer: test:x = null y=2 1.3 answer:数组x的第一个元素不是与y相等的元素即可避免Error. test:x=[2,3,5] y=5 1.4 an 阅读全文
posted @ 2018-03-12 19:00 JDwu 阅读(157) 评论(0) 推荐(0) 编辑