Mercurial > hg > octave-jordi > gnulib-hg
comparison tests/uninorm/test-u32-normcoll.c @ 12421:e8d2c6fc33ad
Use spaces for indentation, not tabs.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 10 Dec 2009 20:28:30 +0100 |
parents | 16dbbe72b817 |
children | a48d3d749ca5 |
comparison
equal
deleted
inserted
replaced
12420:5850b9a81029 | 12421:e8d2c6fc33ad |
---|---|
24 #include <stdio.h> | 24 #include <stdio.h> |
25 #include <stdlib.h> | 25 #include <stdlib.h> |
26 | 26 |
27 #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) | 27 #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) |
28 #define ASSERT(expr) \ | 28 #define ASSERT(expr) \ |
29 do \ | 29 do \ |
30 { \ | 30 { \ |
31 if (!(expr)) \ | 31 if (!(expr)) \ |
32 { \ | 32 { \ |
33 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ | 33 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ |
34 fflush (stderr); \ | 34 fflush (stderr); \ |
35 abort (); \ | 35 abort (); \ |
36 } \ | 36 } \ |
37 } \ | 37 } \ |
38 while (0) | 38 while (0) |
39 | 39 |
40 #include "test-u32-normcmp.h" | 40 #include "test-u32-normcmp.h" |
41 int | 41 int |
42 main () | 42 main () |