Commit Graph

615 Commits

Author SHA1 Message Date
6f1bf3ebf9 Make check_{neq|eq} output more explicit
As the panic message mentions __a and __b, use these explicitly in the
error message and equate them to concrete values.
Do not use parenthesis to show the computed value as these can be
mistaken for functions.
2011-06-21 23:39:24 +10:00
4234171e92 Add type_to_string for more cstdint types 2011-06-21 23:37:30 +10:00
c8804cbe8e Added generic hton and ntoh functions 2011-06-21 23:36:51 +10:00
8568a325c0 Add first pass of ipv4::ip parsing and object 2011-06-21 21:42:20 +10:00
20f81a7630 Correct package name in copyright headers
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
f924c990df Add template based elems implementation 2011-06-21 20:16:39 +10:00
8801023626 Add required header for almost_equal in assert_eq 2011-06-16 20:54:34 +10:00
4891c6af0e Add sign_cast functions
These safely cast between signed and unsigned numeric quantities,
aborting if the result cannot be safely converted (as opposed to size
expanding or throwing).
2011-06-15 22:38:58 +10:00
16e4cde82d Add instantiation of range for size_t 2011-06-15 22:37:17 +10:00
9ca6d97684 removed unneeded local variable 2011-05-25 23:05:55 +10:00
bc8f2d9190 Link tests to libutil using relative build path 2011-05-25 23:03:06 +10:00
e73a7e0e1b removed unneeded local variables 2011-05-25 23:03:00 +10:00
060e2ebac8 added slurp routine and comments 2011-05-25 23:02:39 +10:00
547fdc629a added try_code routines for errno_error 2011-05-25 23:02:15 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00