testing
test20231030
rp 大爆发(别一次用完就行了)。 来晚了,差点没赶上考试。 先看 T1,看上去很像一个三维偏序问题,一看数据范围 \(n\le 3\times 10^7\), 不行,再看一眼题目,发现一句话 请选手仔细观察给出的数据生成器,数据生成方式与解题强相关。 阿这,原来是一道分析代码题。 看他数据生成器: ......
软件测试 —— 冒烟测试(Smoke Test,ST)
1. 核心 冒烟测试就是完成一个新版本的开发后,对该版本最基本的功能进行测试,保证基本的功能和流程能走通。 如果不通过,则打回开发那边重新开发; 如果通过测试,才会进行下一步的测试(功能测试,集成测试,系统测试等等)。 简化:门槛测试,一个开关而不是一个阶段。 目的:版本验证测试BVT(Build ......
test20231026
T1 这个向下取整是没有用的,所以可以直接暴力 dfs。 然后要注意一下,如果数组里有 \(1\),你需要直接跳过,不然 \(1\) 可以使用无数次。 inline int ksm(int a,int b){ int res=1; while(b){ if(b&1)res=res*a; a=a*a; ......
test20231028
最小丑的一回(好像并不是) T1 是个简单题,只要会高中基础几何就行了。 T2 看上去是个暴力,然后我也写了个暴力,结果跑大样例 dfs 进行到两万多层的时候 RE 了,完全不知道为什么,然后调调调调了一个多小时,到了十点放弃 T2 开始干 T3。 T3 看起来是个数学题,然后退式子,推推推大概半个 ......
go test跳过某个测试用例
package ch11 func add(a, b int) int { return a + b } package ch11 import ( "fmt" "testing" ) func TestAdd(t *testing.T) { re := add(1, 4) if re != 5 { ......
NetSuite Test Driver Account 如何查看系统邮件发送的历史记录
title: NetSuite Test Driver Account 如何查看系统邮件发送历史记录 date: 2023-10-01 5:55:48 tags: [NetSuite] categories: NetSuite NetSuite Test Driver Account 在系统中很多时 ......
AZ-900 practice test-003
https://learn.microsoft.com/en-us/credentials/certifications/exams/az-900/practice/results?assessmentId=23&snapshotId=d1ea6650-3e50-4598-985a-74a41d8d ......
RK3588编解码之mpp解码demo解析: mpi_dec_test
1. 简介 mpi_dec_test 是rockchip官方解码 demo 本篇文章进行mpi_dec_test 的代码解析,解码流程解析 2. 环境介绍 硬件环境: ArmSoM-W3 RK3588开发板 软件版本: OS:ArmSoM-W3 Debian11 3. mpp解码流程解析 mpp_c ......
AZ-900 practice test
https://learn.microsoft.com/en-us/credentials/certifications/exams/az-900/practice/results 13/50 Your organization is building a custom application. Y ......
test
这是一篇博客。 这是一篇博客。 我去有一级标题 我去有二级标题 我去有三级标题 我去有四级标题 我去有五级标题 我去有六级标题 啊?还能改颜色 Wow, it even has Sans font 经STA_Morlin指导,原来用的是HTML编辑器啊 €€£ test 0123456789 abc ......
Go - Changing the Timing for Running Performance Tests
Problem: You want to run performance tests for a specific duration or a specific number of iterations. Solution: You can increase the minimum duration ......
Go - Avoiding Test Fixtures in Performance Tests
Problem: You want to customize the performance tests to avoid benchmarking test fixtures. Solution: You can start, stop, and reset the benchmark timer ......
最详细的 T Test 方差分析结果解读
P Value: P值(P value)是在假设检验中一个非常关键的概念。它提供了一个量化的方法来评估观察到的数据与零假设(null hypothesis)下期望的数据之间的差异。具体来说,P值是在零假设为真的条件下,观察到当前统计量或更极端统计量的概率。 以下是关于P值的更详细解释: 定义:P值是 ......
Go - Testing a Web Application or a Web Service
Problem: You want to do unit testing on a web application or a web service. Solution: Use the httptest.NewRecorder function to create an httptest.Resp ......
Go - Generating Random Test Inputs for Tests
Problem: You want to generate random test data for running your test functions. Solution: Use fuzzing , which is an automated testing technique to gen ......
Go - Running Tests in Parallel
Problem: You want to speed up testing by running tests in parallel. Solution: Use the t.Parallel function to enable tests or subtests to run in parall ......
Go - Creating Subtests to Have Finer Control Over Groups of Test Cases
Problem: You want to create subtests within a test function to have finer control over test cases. Solution: Use the t.Run function to create subtests ......
Go - Setting Up and Tearing Down Before and After Tests
Problem: You want to set up data and an environment for testing and tear it down after the test is run. Solution: You can create helper functions or u ......
Testing Round 16 (Unrated) B. Square?
给定一个矩形,然后切成两个矩形。尺寸分别为 \(a \times b\) , \(c \times d\) 。你需要确定开始的矩形是否可能是个正方形。 假设初始矩形为正方形,则两个小矩形的长边是正方形的边长。不妨让 \(a \geq b, c \geq d\) 。只需判断 \(a = c, a = ......
test
Docker是一个开源的应用容器引擎,使用Go语言开发,基于Linux内核的cgroup,namespace,Union FS等技术,对应用进程进行封装隔离,并且独立于宿主机与其他进程,这种运行时封装的状态称为容器。 Docker早期版本实现是基于LXC,并进一步对其封装,包括文件系统、网络互联 ......
test1111
[root@localhost harbor]# cat /etc/docker/daemon.json { "registry-mirrors": ["http://f1361db2.m.daocloud.io"], "insecure-registries": ["192.168.56.146" ......
test
[root@localhost harbor]# cat /etc/docker/daemon.json { "registry-mirrors": ["http://f1361db2.m.daocloud.io"], "insecure-registries": ["192.168.56.146" ......
test 1
[root@localhost harbor]# cat /etc/docker/daemon.json { "registry-mirrors": ["http://f1361db2.m.daocloud.io"], "insecure-registries": ["192.168.56.146" ......
test2
[root@localhost harbor]# cat /etc/docker/daemon.json{"registry-mirrors": ["http://f1361db2.m.daocloud.io"],"insecure-registries": ["192.168.56.146"] # ......
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 LNK2019 无法解析的外部符号 _main,函数 "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) 中引用了该符号 test001 F:\Data\softwareDesign\test001\MSVCRTD.lib(exe_main.obj) 1 问题的解决
问题描述 按照思路写好了C++的程序之后,表面上看起来没什么错误,也没有红点点的出现,但是运行起来,就发现,爆出来这样一个错误: 问题解决 看了半天,查了半天资料,发现是这里出现了问题(我真的~~~): 习惯了首字母大写,这个就当成类来写了, 后来突然醒悟,这个是main函数,首字母是要小写: 运行 ......
springMVC @Test方法中如何请求https
原文链接:https://www.longkui.site/error/springmvc-test-https/4823/ 0.背景 springMVC环境,需要在@Test方法中发送一个https请求,按照格式要求发送了,结果报错 org.springframework.web.client.R ......
@Test方法中使用restTemplate报错null(NullPointerException)
原文链接:https://www.longkui.site/error/resttemplate/4821/ 0.背景 需要在@Test 单元测试中掉调用一个http请求,用的是RestTemplate。当时测试的代码如下: HttpEntity<Object> requestEntity = ne ......