MCPcopy Create free account
hub / github.com/davisking/dlib / test1

Function test1

dlib/test/vectorstream.cpp:163–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161// ----------------------------------------------------------------------------------------
162
163 void test1()
164 {
165 print_spinner();
166
167 {
168 std::vector<char> buf;
169 vectorstream s1(buf);
170 test1_variant(buf, s1);
171 }
172
173 {
174 vector<char> buf;
175 dlib::vectorstream s1(buf);
176 std::iostream& s2 = s1;
177 test1_variant(buf, s2);
178 }
179
180 {
181 std::vector<int8_t> buf;
182 vectorstream s1(buf);
183 test1_variant(buf, s1);
184 }
185
186 {
187 vector<int8_t> buf;
188 dlib::vectorstream s1(buf);
189 std::iostream& s2 = s1;
190 test1_variant(buf, s2);
191 }
192
193 {
194 std::vector<uint8_t> buf;
195 vectorstream s1(buf);
196 test1_variant(buf, s1);
197 }
198
199 {
200 vector<uint8_t> buf;
201 dlib::vectorstream s1(buf);
202 std::iostream& s2 = s1;
203 test1_variant(buf, s2);
204 }
205 }
206
207// ----------------------------------------------------------------------------------------
208

Callers 1

perform_testMethod · 0.70

Calls 2

print_spinnerFunction · 0.85
test1_variantFunction · 0.85

Tested by

no test coverage detected