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