程序日志输出是程序调试中不可缺少的一部分,使用Qt中的QtMessageHandler qInstallMessageHandler(QtMessageHandler handler)就可以将日志信息输出至自己想要的位置。 当有日志输出时,触发自定义的日志发送信号,此时接收该信号,即可将日志输出传递到任意位置,由于日志处理函数为静态函数,因此需要一个指针指向this,用于在静态函数中发送该信号
2021-04-26 14:04:14 7KB qt
1
使用opencv同时采集两个大恒水星相机的图片,实现双目摄像机系统。程序调用大恒SDK提供的函数手册,调用两个回调函数,实现同时采集两个相机的图像。
2021-04-23 17:57:35 36.46MB opencv 双目摄像机 大恒水星
1
PingTest,测试网络通断的工具,并且可以纪录PING日志
2021-03-31 18:28:41 64KB PingTest
1
- 质量首先属于开发问题,而不是测试问题,只有开发解决不了的质量问题,才是测试的问题 - 测试并不是一个独立的工作, 它是开发工作的一部分, 伴随着整个开发过程 - 质量不等于测试, 为了质量, 需要你把开发工作和测试结合到一起, 搅拌它们, 直到分不清你我为止 - 测试 ok 不等于高质量,但是测试不 ok,确实万万不行的 - 通过把测试工作一定程度的融合到开发过程中,我们极大的降低了一些本来被认为会写很多有问题的代码的人的出错机会
2021-03-18 19:42:21 1.89MB gtest 单元测试 c++
1
使用gtest进行单元,测试,网上有一堆讲解。只是一般只针对一个文件或是两个文件,没有牵涉到很多文件或是非常复杂的工程情况,本范例的重点是如何与以往的工程相结合。在不改变原有工程的前提下测试工程中各类,并且尽可能降低工作量。
2021-03-18 19:33:09 2KB gtest cmake
1
程序接口测试例子,用GTEST实现。GTEST库可以从网上下截.
2021-03-18 17:45:20 3.67MB Gtest
1
WPF 国际象棋 棋子ChessProgrammingTest.zip 要求: You have been provided with a third-party library "ChessLib" which calculates the legal moves a knight can make given a position on an 8 by 8 board. The library has been used to create a program which moves a knight randomly around a board, given an initial starting position and a total number of moves to make. Problem: ======== Extend this program to set up an 8 by 8 square game board containing several different pieces in predefined positions. For each move of the game, the program will choose a piece at random, and move it to a randomly selected valid position. You are not allowed to change any of the ChessLib code. Extend the program as required. Use Object Oriented Design and Modeling appropriately for extensibility. Please supply all the code for your solution in the file Answer.cs in the SampleProgram project. Please supply all the tests for your solution in the file TestAnswer.cs in the SampleProgram.Test project. Game Rules: ----------- * Only one piece can occupy any position on the board at a given time. * All pieces can “jump” any occupied position. Note: Although the game bears a striking resemblance to Chess, this is entirely coincidental. Do not assume other chess rules apply. Game Pieces to support: ----------------------- * Knight – Moves as implemented by ChessLib * Bishop - Moves diagonally, any distance within board boundaries * Queen – Moves diagonally, horizontally or vertically, any distance within board boundaries
2021-03-17 18:03:28 2.32MB wpf Chess 国际象棋
1
Ping Tester Pro是一款可视化的网络PING工具,为网络管理员提供了许多丰富的选项,拥有Ping时间间隔、缓冲块大小、已经Ping次数等操作选项,并支持自定义计算ping时间,只需要设定好ip地址或者域名便可以轻松获取服务器的连接信息。
2021-03-16 14:03:30 3.54MB ping Ping测试 Ping包 PingTesterPro
1
QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解QSqlTableModel详解
2021-03-10 22:07:01 10KB qt QSqlTableModel 数据库 model
1
安卓记账小程序
2021-03-10 16:05:57 19.03MB andriod
1