#include <catch2/catch_all.hpp>
#include <catch2/matchers/catch_matchers_all.hpp>
#include <cstdio>
#include <algorithm>
#include <depthai/depthai.hpp>
#include <string>
Go to the source code of this file.
|
| template<typename U , typename V > |
| bool | equalStrings (const U a, const V b) |
| |
| | TEST_CASE ("dai::Path utf-8 and native char set handling") |
| |
| | TEST_CASE ("dai::Path with AssetManager, StereoDepth") |
| |
| | TEST_CASE ("dai::Path with CalibrationHandler") |
| |
| | TEST_CASE ("dai::Path with Device") |
| |
| | TEST_CASE ("dai::Path with DeviceBootloader") |
| |
| | TEST_CASE ("dai::Path with NN blobs") |
| |
| | TEST_CASE ("dai::Path with Script") |
| |
| template<typename T > |
| int | u8length (const T *str) noexcept |
| |
◆ DELETEFILE
| #define DELETEFILE std::remove |
◆ FILETEXT
| #define FILETEXT "This is a test\n" |
◆ MAKENATIVE
| #define MAKENATIVE |
( |
|
x | ) |
x |
◆ NATIVELENGTH
| #define NATIVELENGTH |
( |
|
x | ) |
u8length(static_cast<std::string>(x).c_str()) |
◆ NATIVETYPE
| #define NATIVETYPE std::string |
◆ PATH1
| #define PATH1 "C:\\dir1\\file1.txt" |
◆ PATH2
| #define PATH2 "file2.txt" |
◆ PATH3
| #define PATH3 "/dir3/dir33/file3.txt" |
◆ PATH4
| #define PATH4 u8"\u00e4\u00eb\u00ef\u00f6\u00fc\u00e1\u00e9\u00ed\u00f3\u00fa\u00df\u00c6\u002e\u010c\u011a\u0141" |
◆ PATH5
| #define PATH5 "asdf.nothing" |
◆ U8CHAR
◆ U8STRING
| #define U8STRING std::string |
◆ equalStrings()
template<typename U , typename V >
| bool equalStrings |
( |
const U |
a, |
|
|
const V |
b |
|
) |
| |
◆ TEST_CASE() [1/7]
| TEST_CASE |
( |
"dai::Path utf-8 and native char set handling" |
| ) |
|
◆ TEST_CASE() [2/7]
| TEST_CASE |
( |
"dai::Path with |
AssetManager, |
|
|
StereoDepth" |
|
|
) |
| |
◆ TEST_CASE() [3/7]
| TEST_CASE |
( |
"dai::Path with CalibrationHandler" |
| ) |
|
◆ TEST_CASE() [4/7]
| TEST_CASE |
( |
"dai::Path with Device" |
| ) |
|
◆ TEST_CASE() [5/7]
| TEST_CASE |
( |
"dai::Path with DeviceBootloader" |
| ) |
|
◆ TEST_CASE() [6/7]
| TEST_CASE |
( |
"dai::Path with NN blobs" |
| ) |
|
◆ TEST_CASE() [7/7]
| TEST_CASE |
( |
"dai::Path with Script" |
| ) |
|
◆ u8length()
template<typename T >
| int u8length |
( |
const T * |
str | ) |
|
|
noexcept |