linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
一、什么是unittest unittest是Python单元测试框架,类似于JUnit框架。 unittest中有4个重要的概念:test fixture, test case, test suite, test runner Testcase: 一个TestCase的实例就是一个测试用例。什么是 ...
分类:
其他好文 时间:
2021-04-22 16:10:25
阅读次数:
0
i: /* * @lc app=leetcode.cn id=127 lang=cpp * * [127] 单词接龙 * * https://leetcode-cn.com/problems/word-ladder/description/ * * algorithms * Hard (45.95% ...
分类:
其他好文 时间:
2021-04-22 15:58:08
阅读次数:
0
__char 把一组数字转化成Unicode字符 __counter ${__threadNum}_${__counter(true,1)} 每个线程分别计数 ${__threadNum}_${__counter(false,1)} 每个线程合并计数 __CSVRead 1、读取固定值 ${__CS ...
分类:
其他好文 时间:
2021-04-22 15:52:57
阅读次数:
0
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:
系统相关 时间:
2021-04-22 15:41:37
阅读次数:
0
有时候,为了满足某些场景的需要,我们知道有些测试函数在这时候肯定不能执行,或者执行了也会失败。那么我们 可以选择去跳过这个测试函数,这样也就不会影响整体的测试函数运行效果,不至于在你运行的众多绿色通过的测试 用例中,给你加点红色的failed或者error。 举个例子,有些测试函数只能在window ...
分类:
其他好文 时间:
2021-04-22 15:30:23
阅读次数:
0
static void Main(string[] args) { var k = new Test() { ID = 1, Age = 15 }; T1 a = k; T2 b = k; a.show(); //Console.WriteLine(b.Age); b.show(); } } cla ...
分类:
其他好文 时间:
2021-04-22 15:19:53
阅读次数:
0
进入查看:2021-2022学年英语周报八年级第35期答案及试题 Unit 31. advantage n. 有利条件; 优点disadvantage n. 不利条件; 不便之处2. graduate vi. 毕业 n. 大学毕业生graduation n. 毕业3. determine v. 决心 ...
分类:
其他好文 时间:
2021-04-22 15:19:36
阅读次数:
0
CROSS_COMPILE = aarch64-himix100-linux_V630- CC = $(CROSS_COMPILE)gcc CPLUS = $(CROSS_COMPILE)g++ INC_DIR = -I./alg_test/inc CFLAGS = -Wall $(INC_DIR) ...
分类:
编程语言 时间:
2021-04-21 12:45:32
阅读次数:
0
rsync本地备份 制作异地镜像站点 目的:为异地备份做好准备工作 rsync原理 rsync远程传数据可以简单总结成三步 1、先验证用户身份 2、检查源路径到底需要哪些文件 3、传输 rsync总结 1、耗费cpu资源 2、源路径下如果是频繁改动的,rsync不适合,比如数据库文件 3、不适合同步 ...
分类:
其他好文 时间:
2021-04-21 12:23:09
阅读次数:
0