practice test 900 az
vue-test4 -------组件之间的数据传递
<template> <h3>CompA</h3> <component-b :onfun="dateFun"></component-b> <p>{{msg}}</p> </template> <script> import ComponentB from "@/components/Compon ......
vue-test ------class绑定
<template> <p :class="{'active':isActive}">Class样式绑定</p> <p :class="Objec">Class样式绑定</p> <p :class="[arrActive,arrHasErr]">Class样式绑定3</p> <p :class="i ......
vue-test -----ListDemo 列表渲染
<template> <h3>数组</h3> <button @click="addnums">添加数据</button> <p v-for="(item,index) in nums" :key="index">{{item}}</p> </template> <script> export de ......
vue-test --------模板引用
<template> <input type="text" v-model.lazy="message"> <div>{{message}}</div> <input type="checkbox" v-model="flag"> <div>{{flag}}</div> </template> <s ......
vue-test --------ref
<template> <div ref="contain">{{content}}</div> <button @click="getElemet">获取元素</button> <input type="text" ref="username"> </template> <script> expor ......
vue-test --------事件修饰符
<template> <h3>事件修饰符</h3> <a @click="clickHandle" href="www.baidu.com">百度</a> <div @click="clickDiv"> <p @click="clickP">测试冒泡</p> </div> </template> < ......
vue-test ------事件监听
<template> <h3>监听器</h3> <p>{{message}}</p> <button @click="updateHandle">点击</button> </template> <script> export default { name: "WatchDemo", data(){ ......
vue-test -------style绑定
<template> <p :style="{color:activeColor,fontSize:fontsize+'px'}"></p> </template> <script> export default { name: "StyleDemo", data(){ return{ active ......
【HarmonyOS】HarmonyOS Test测试用例中一些断言API的使用
【关键词】 单元测试框架、HarmonyOS Test、assertThrowError、assertFail、assertEqual 【测试代码及测试结果展示】 这里以新建API9工程自动生成的ohosTest来编写单元测试代码。 1、 测试代码: import { describe, it, ......
test20231103
T1 还算是一道简单题,通过二分可以轻松求解。(但是我因为没有判断左端点挂了 \(10pts\) ,不然我就是本场比赛的 \(rk1\) 了) 虽然题解上说单调性是错误的,但是而二分能过,那就二分水过去吧。 int n,k; int a[2050]; bool vis[2050]; inline i ......
test20231104
T4 以 T4 的水准来说应该算是一道简单题,思维并不复杂。 重点:抽屉原理,一个区间不会长度超过 \(14\)。 每次操作等于是把幂次乘上 \(3\)。 由于 \(a_i\) 到最后一定是为 \(a_i^{3^k}\),所以我们可以直接暴力倍增,然后分解 \(k\) 就行了。 int n,m,v, ......
google test 之 TEST_F详解
#一、 基本概念: ##google test 三种测试用例写法: TEST(test_suite_name, test_name) 第一种是最基本写法: #include <gtest/gtest.h> int add(int a, int b) { return a + b; } TEST(te ......
关于@Test注解
@Test注解: JUnit 4发布的新特性之一就是支持了@Test注解;@Test的使用 是该方法可以不用在main方法中调用就可以测试出运行结果的一种测试工具。一般函数都需要有main方法调用才能执行,方便了开发人员在开发过程中测试代码功能。不过需要注意被测试的方法必须是public修饰的。 使 ......
R:T-Test 计算
1.不配对 # 创建两组模拟数据 group1 <- c(9.536312, 37.07379, 20.82934, 37.20035) group2 <- c(3.185522, 57.45692, 10.12008, 57.29765) # 进行独立样本t-test result <- t.te ......
3. Practice
1. Model of Learning So now it's time to go to the stage room. These will actually change their names once we actually started the program. Once you s ......
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 看起来是个数学题,然后退式子,推推推大概半个 ......
Practice Assessment for Exam AZ-400: Designing and Implementing Microsoft DevOps Solution
https://learn.microsoft.com/en-us/credentials/certifications/exams/az-400/practice/assessment?assessment-type=practice&assessmentId=56 The most secure ......
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 ......
ABB AC900F学习笔记327:WINCC7.5SP2作为OPC SERVER,freelance2019SP2作为OPCC LIENT练习
这一篇博客我在新浪博客记录过,地址是 ABBAC900F学习笔记327:WINCC7.5SP2作为OPCSERVER,freelance2019SP2作为OPCCLIENT练习_来自金沙江的小鱼_新浪博客 (sina.com.cn) 为了避免丢失,我在这里再次记录一遍 今天做一个练习,WINCC 7 ......
ABBAC900F学习笔记326:freelance2019SP1作为OPC DA SERVER,WINCC7.5SP2作为OPC DA CLIENT
昨天练习了ABB 的OPC DA通过寻,在同一台计算机上实验的。今天测试局域网上freelance2019SP1作为OPC DA SERVER,WINCC 7.5SP2作为OPC DA CLIENT通讯。测试在昨天的ABB练习程序基础上进行。 1. freelance2019SP1作为OPC DA ......