摘要: a. b.when n is very large,the fault would occur. c.n=1 d.node coverage:{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} edge coverage:{(1,2),(2,3),(2,3),(3,4),(4 阅读全文
posted @ 2016-03-29 16:54 曲 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1.导入junit***.jar 和hamcrest包 2。安装eclemma 在HELP选项卡中打开如下页面 安装即可。 3.测试结果以及覆盖测试报告 阅读全文
posted @ 2016-03-17 16:20 曲 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 在汇编语言中,使用LOOP指令未设置寄存器ECX的值。 ECX的值每一次LOOP都会减少1,到0为止。 阅读全文
posted @ 2016-03-16 17:56 曲 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一. public intfindLast(int[] x, inty) {//Effects: If x==null throwNullPointerException// else return the index of the last element// in x that equals y 阅读全文
posted @ 2016-03-06 11:37 曲 阅读(156) 评论(0) 推荐(0) 编辑
摘要: WPF换肤例子:&需求:WPF中,点界面中的按钮 ,变化界面背景图片比较通用的方法是利用WPF的DynamicResource。做法如下:比如要改变当前Window的Background。首先,要在Window的xaml文件里面加上这句话Background="{DynamicResource bg... 阅读全文
posted @ 2015-05-17 16:57 曲 阅读(163) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using System.Di... 阅读全文
posted @ 2015-05-04 09:15 曲 阅读(81) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Linq;using System.Collecti... 阅读全文
posted @ 2015-04-27 20:11 曲 阅读(78) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Text.RegularExpressions;na... 阅读全文
posted @ 2015-04-20 10:38 曲 阅读(86) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication5{ class... 阅读全文
posted @ 2015-04-06 20:59 曲 阅读(89) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class... 阅读全文
posted @ 2015-03-30 20:02 曲 阅读(138) 评论(1) 推荐(0) 编辑