摘要:
Selenium上机实验说明 1、安装SeleniumIDE插件 2、学会使用SeleniumIDE录制脚本和导出脚本 3、访问https://psych.liebes.top/st使用学号登录系统(账户名为学号,密码为学号后6位),进入系统后可以看到该同学的git地址。 4、编写Selenium 阅读全文
摘要:
作业题目: /** * Finds and prints n prime integers * Jeff Offutt, Spring 2003 */ private static void printPrimes(int n) { int curPrime; //Value currently c 阅读全文
摘要:
实验要求: a) The brief description that you install junit, hamcrest and eclemma. b) The test result and coverage report (print screen) of your tests on tr 阅读全文
摘要:
public static int lastZero (int[] x) { //Effects: if x==null throw NullPointerException // else return the index of the LAST 0 in x. // Return -1 if 0 阅读全文
摘要:
记一次项目debug经历: 有一次写一个科学计算器的程序,其中用两个栈分别装数字和操作符,我当时使用java.until.Tokenizer包中的StringTokenizer类,当使用nextToken()时显示空指针异常,当时上网查很多资料都不知道错在哪,最后问了我们班大神,才知道使用nextT 阅读全文