File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
222
222
nlohmann::json j = obj1; // via json object
223
223
T obj2;
224
224
j.get_to (obj2);
225
- assert (obj1 == obj2);
225
+ CHECK (obj1 == obj2);
226
226
}
227
227
228
228
{
@@ -232,7 +232,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
232
232
nlohmann::json j2 = nlohmann::json::parse (s);
233
233
T obj2;
234
234
j2.get_to (obj2);
235
- assert (obj1 == obj2);
235
+ CHECK (obj1 == obj2);
236
236
}
237
237
238
238
{
@@ -242,7 +242,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
242
242
nlohmann::json j2 = nlohmann::json::from_msgpack (buf);
243
243
T obj2;
244
244
j2.get_to (obj2);
245
- assert (obj1 == obj2);
245
+ CHECK (obj1 == obj2);
246
246
}
247
247
248
248
{
@@ -252,7 +252,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
252
252
nlohmann::json j2 = nlohmann::json::from_bson (buf);
253
253
T obj2;
254
254
j2.get_to (obj2);
255
- assert (obj1 == obj2);
255
+ CHECK (obj1 == obj2);
256
256
}
257
257
258
258
{
@@ -262,7 +262,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
262
262
nlohmann::json j2 = nlohmann::json::from_cbor (buf);
263
263
T obj2;
264
264
j2.get_to (obj2);
265
- assert (obj1 == obj2);
265
+ CHECK (obj1 == obj2);
266
266
}
267
267
268
268
{
@@ -272,7 +272,7 @@ TEST_CASE_TEMPLATE("Serialization/deserialization of classes with 26 public/priv
272
272
nlohmann::json j2 = nlohmann::json::from_ubjson (buf);
273
273
T obj2;
274
274
j2.get_to (obj2);
275
- assert (obj1 == obj2);
275
+ CHECK (obj1 == obj2);
276
276
}
277
277
}
278
278
}
You can’t perform that action at this time.
0 commit comments