unittest基本原理: ?整个平台的搭建使用的是python的unittest测试框架,这里简单介绍下unittest模块的简单应用。 ?unittest是python的标准测试库,相比于其他测试框架是python目前使用最广的测试框架。 ?unittest有四个比较重要的概念是test fix ...
分类:
编程语言 时间:
2018-06-04 14:22:38
阅读次数:
204
https://www.cnblogs.com/xpvincent/archive/2013/02/15/2912836.html 目前能够百度到的根据旋转前后的两个向量求旋转矩阵,基本上都是根据上部链接的博客原理,但我根据其代码所写的程序,发现有bug ,一时半会无法解决,估计是特殊情况没有考虑。 ...
分类:
其他好文 时间:
2018-05-21 14:29:23
阅读次数:
443
https://www.codeproject.com/Articles/1432/What-is-an-ISAPI-Extension Introduction Unless you have been a caveman, you have seen a number of web sites ...
学习地址 : https://rancher.com/docs/rancher/v2.x/en/quick-start-guide/ Install Rancher docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/ ...
分类:
其他好文 时间:
2018-05-16 13:04:40
阅读次数:
2111
mybatis plus封装的方法怎么用?以及它们对应的sql是那些sql?及其什么情况用? 这些需要说下,以下我将会将我常用的说下,不是常用的,可能提以下或者不提。 根据主键查询 上述这个没什么好说的 根据实体查询 这个就比较常用了,根据实体属性查询,在junit单元测试,调用dao,只能通过实体 ...
分类:
其他好文 时间:
2018-05-12 20:34:09
阅读次数:
1782
用Cacheable注解时,发现空值,也会被缓存下来。如果我们期望空值不被缓存,可以做如下设置: unless="#result == null" //当条件为true时,不保存对象 ...
分类:
编程语言 时间:
2018-04-03 12:48:11
阅读次数:
223
1: unless 条件为假时,执行指定的语句 unless…(条件为假执行)…else…(条件为真执行)… 2: until 循环体一直执行,直到条件为真结束 until ($j > 4) { print "j <= 4"; } 3: if……elsif…… 4: $i++ $i-- 先使用变量再 ...
分类:
其他好文 时间:
2018-03-24 22:29:56
阅读次数:
206
编译时警告 All interface orientations must be supported unless the app requires full screen. App 默认是有开启了多任务功能,而多任务功能是需要 App 支持所有方向,如果我们 App 是有需要支持多任务,则需要开启 ...
分类:
移动开发 时间:
2018-03-20 12:46:16
阅读次数:
211
1. php 的版本 :PHP 7.3.0-dev (cli) (built: Mar 18 2018 00:28:55) ( NTS ) 2. unless 语法结构: unless($cond){ statement; } 语法作用: 当 $cond 为假的时候,执行 statement 语句。 ...
分类:
Web程序 时间:
2018-03-18 17:13:02
阅读次数:
272
确定盒子的基线的规则 1.1 确定inline-block的基线 The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in ...
分类:
其他好文 时间:
2018-02-13 18:54:47
阅读次数:
171