2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <aros/debug.h>
19 # define FORMAT_STRING "%f %f %f %f"
24 # define FORMAT_STRING "%d %d %d %d"
27 void arrgh(TYPE a
, TYPE b
, TYPE shouldbe_a
, TYPE shouldbe_b
)
29 sprintf(s
,"\n\n\n******* CONDITION CODES TERRIBLY WRONG ******* " FORMAT_STRING
"\n\n\n", a
, b
, shouldbe_a
, shouldbe_b
);
37 while((SetSignal(0, 0) & SIGBREAKF_CTRL_C
) == 0)
40 if (!(a
== b
)) arrgh(a
,b
,VAL1
,VAL1
);
42 if (!(a
> b
)) arrgh(a
,b
,VAL2
,VAL1
);
43 if (!(b
< a
)) arrgh(a
,b
,VAL2
,VAL1
);
44 if (!(b
!= a
)) arrgh(a
,b
,VAL2
,VAL1
);
45 if (a
== b
) arrgh(a
,b
,VAL2
,VAL1
);
46 if (a
<= b
) arrgh(a
,b
,VAL2
,VAL1
);