<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <!-- S ...
分类:
其他好文 时间:
2021-05-24 03:28:46
阅读次数:
0
compareTo()方法:a.compareTo(b),如果a<b return -1,如果 a>b return 1 在下列的排序中,如果a<b,则返回-1,正常递增排序,如果a>b,返回1,则a和b的位置替换下。public class EqualsAndHashCode { private ...
分类:
编程语言 时间:
2021-05-24 03:21:54
阅读次数:
0
题目: http://acm.hdu.edu.cn/showproblem.php?pid=5241 题面: Sample Input 2 0 2 Ouput Case #1: 1 Case #2: 1024 题意: M会使用n种语言,M的九个朋友会的语言都是M的子集,并且给出九个朋友会的语言的关系 ...
分类:
其他好文 时间:
2021-05-24 03:13:28
阅读次数:
0
数据结构二叉树的基本操作设计#include <conio.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #define MAXLEN 100 #define NLAYER 4 typedef struct BiTNode / ...
分类:
编程语言 时间:
2021-05-24 01:40:53
阅读次数:
0
PS C:\ycm\test\ts-newProjet> git pull origin master * branch master -> FETCH_HEAD fatal: refusing to merge unrelated histories 在新建项目时报refusing to merg ...
分类:
其他好文 时间:
2021-05-24 01:24:52
阅读次数:
0
db_info = {'user': 'root', 'password': '123456', 'host': 'localhost', 'port': 3306, 'database': 'test' }'mysql+pymysql://%(user)s:%(password)s@%(host) ...
分类:
数据库 时间:
2021-05-24 01:23:49
阅读次数:
0
1。 调整用例执行顺序 默认按名称顺序执行。安装pip install pytest-ordering, 在测试方法上加装饰器@pytest.mark.last @pytest.mark.run(order=1) 2。遇到错误停止执行 -x 参数 pytest -x -v -s test_01.py ...
分类:
其他好文 时间:
2021-05-24 00:48:43
阅读次数:
0
pytest参数化与数据驱动实现—— 1. 使用@pytest.mark.parametrize进行参数化和数据驱动 import pytest @pytest.mark.parametrize("test_input, expected", [('3+5', 8), ('1+5', 6), ('3 ...
分类:
其他好文 时间:
2021-05-24 00:42:51
阅读次数:
0
package test; public class BubbleSort { public void bubble(Integer[] array,int from,int end) { for(int k=1;k<end-from+1;k++) { for(int i=end-from;i>=k ...
分类:
编程语言 时间:
2021-05-24 00:31:25
阅读次数:
0
引号和转义 Bash 只有一种数据类型,就是字符串。不管用户输入什么数据,Bash 都视为字符串。因此,字符串相关的引号和转义,对 Bash 来说就非常重要。 转义 某些字符在 Bash 里面有特殊含义(比如$、&、*)。 $ echo $date $ 上面例子中,输出$date不会有任何结果,因为 ...
分类:
系统相关 时间:
2021-05-24 00:19:28
阅读次数:
0