Commit graph

10 commits

Author SHA1 Message Date
Kevin Locke
07c380d6b7 asserts: Add assertions for wide strings
This commit creates _wcs_ variants of the _str_ assertions for operating
on wchar_t * instead of char *.  The assertions are useful for programs
using wchar_t strings, particularly on Windows where use of the wide
character version of the Windows API is encouraged by Microsoft.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-10 08:48:30 +02:00
Snaipe
cfd3212a4a sample,asserts: Fixed wrong usage of cr_assert_arr_eq_cmp in C++ 2016-09-06 20:56:42 +02:00
Snaipe
d2a4124b87 style: Added and enforce uncrustify config 2016-09-05 21:32:57 +02:00
Snaipe
28007ab67e Added missing array include for asserts.cc 2016-02-13 15:09:31 +01:00
Snaipe
24f90ea817 Fixed array comparison assert samples 2016-02-13 13:20:10 +01:00
Snaipe
a8ecd27427 Updated asserts sample 2015-09-08 23:56:19 +02:00
Snaipe
4d114fdd38 Changed the assert interface to accept a format string 2015-09-08 18:49:24 +02:00
Snaipe
b8374bca16 [Issue #36] Added throw assertions 2015-09-07 20:09:28 +02:00
Snaipe
17cd3c6509 Removed bogus assert in asserts.{c,cc} samples 2015-09-07 08:45:38 +02:00
Snaipe
fd9cf1755a Added missing .cc samples 2015-09-07 02:00:03 +02:00