stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
pch.hpp
1/*
2 SPDX-License-Identifier: MIT
3 Copyright © 2023-2024 Amebis
4*/
5
6#pragma once
7
8#include <stdex/base64.hpp>
9#include <stdex/compat.hpp>
10#include <stdex/exception.hpp>
11#include <stdex/hash.hpp>
12#include <stdex/hex.hpp>
13#include <stdex/html.hpp>
14#include <stdex/idrec.hpp>
15#include <stdex/interval.hpp>
16#include <stdex/locale.hpp>
17#include <stdex/mapping.hpp>
18#include <stdex/math.hpp>
19#include <stdex/parser.hpp>
20#include <stdex/pool.hpp>
21#include <stdex/progress.hpp>
22#include <stdex/ring.hpp>
23#include <stdex/sgml.hpp>
24#include <stdex/socket.hpp>
25#include <stdex/spinlock.hpp>
26#include <stdex/stream.hpp>
27#include <stdex/string.hpp>
28#include <stdex/sys_info.hpp>
29#include <stdex/system.hpp>
30#include <stdex/unicode.hpp>
31#include <stdex/vector_queue.hpp>
32#include <stdex/watchdog.hpp>
33#include <stdex/wav.hpp>
34#include <stdex/zlib.hpp>
35
36#include "compat.hpp"
37
38#include <cstdlib>
39#include <filesystem>
40#include <list>
41#include <thread>
42
43namespace UnitTests
44{
45 TEST_CLASS(hash)
46 {
47 public:
48 TEST_METHOD(crc32);
49 TEST_METHOD(md5);
50 TEST_METHOD(sha1);
51 };
52
53 TEST_CLASS(math)
54 {
55 public:
56 TEST_METHOD(mul);
57 TEST_METHOD(add);
58 };
59
60 TEST_CLASS(parser)
61 {
62 public:
63 TEST_METHOD(wtest);
64 TEST_METHOD(sgml_test);
65 TEST_METHOD(http_test);
66 };
67
68 TEST_CLASS(pool)
69 {
70 public:
71 TEST_METHOD(test);
72 };
73
74 TEST_CLASS(ring)
75 {
76 public:
77 TEST_METHOD(test);
78 };
79
80 TEST_CLASS(sgml)
81 {
82 public:
83 TEST_METHOD(sgml2str);
84 TEST_METHOD(str2sgml);
85 };
86
87 TEST_CLASS(stream)
88 {
89 public:
90 TEST_METHOD(async);
91 TEST_METHOD(replicator);
92 TEST_METHOD(open_close);
93 TEST_METHOD(file_stat);
94 };
95
96 TEST_CLASS(string)
97 {
98 public:
99 TEST_METHOD(sprintf);
100 };
101
102 TEST_CLASS(unicode)
103 {
104 public:
105 TEST_METHOD(str2wstr);
106 TEST_METHOD(wstr2str);
107 TEST_METHOD(charset_encoder);
108 TEST_METHOD(normalize);
109 };
110
111 TEST_CLASS(watchdog)
112 {
113 public:
114 TEST_METHOD(test);
115 };
116
117 TEST_CLASS(zlib)
118 {
119 public:
120 TEST_METHOD(test);
121 };
122}