Lines Matching refs:EXPECT_TRUE
171 #define EXPECT_TRUE(cmd) ({ \
172 printf("%s: EXPECT_TRUE(" #cmd ") => ", __func__); \
186 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
187 a=-10; b=-11; EXPECT_TRUE(safe_add(NULL, a, b));
188 a=SCHAR_MIN; b=SCHAR_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
189 a=SCHAR_MIN+1; b=-1; EXPECT_TRUE(safe_add(NULL, a, b));
190 a=SCHAR_MAX/2; b=SCHAR_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
199 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
200 a=SHRT_MIN; b=SHRT_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
201 a=SHRT_MAX/2; b=SHRT_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
210 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
211 a=INT_MIN; b=INT_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
212 a=INT_MAX/2; b=INT_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
221 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
222 a=SAFE_INT64_MIN; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
223 a=SAFE_INT64_MAX/2; b=SAFE_INT64_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
232 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
233 a=LONG_MIN; b=LONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
234 a=LONG_MAX/2; b=LONG_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
242 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
243 a=LLONG_MIN; b=LLONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
244 a=LLONG_MAX/2; b=LLONG_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
252 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
253 a=SSIZE_MIN; b=SSIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
254 a=SSIZE_MAX/2; b=SSIZE_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
263 a=UCHAR_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
264 a=UCHAR_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
265 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
266 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
275 a=USHRT_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
276 a=USHRT_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
277 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
278 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
287 a=UINT_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
288 a=UINT_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
289 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
290 a=0; b=UINT_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
299 a=SAFE_UINT64_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
300 a=SAFE_UINT64_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
301 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
302 a=0; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
311 a=ULONG_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
312 a=ULONG_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
313 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
314 a=0; b=ULONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
323 a=ULLONG_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
324 a=ULLONG_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
325 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
326 a=0; b=ULLONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
337 a=10; b=11; EXPECT_TRUE(safe_add(NULL, a, b));
338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
358 EXPECT_TRUE(safe_add(cur++, a++, b));
359 EXPECT_TRUE(cur == &d[1]);
360 EXPECT_TRUE(d[0] == 3);
361 EXPECT_TRUE(a == 2);
363 EXPECT_TRUE(safe_add3(cur++, a++, b++, c));
364 EXPECT_TRUE(d[0] == 4);
365 EXPECT_TRUE(cur == &d[1]);
366 EXPECT_TRUE(a == 2);
367 EXPECT_TRUE(b == 3);
368 EXPECT_TRUE(c == 1);
382 a=SCHAR_MAX; b=SCHAR_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
383 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
384 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
395 a=SHRT_MAX; b=SHRT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
396 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
397 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
408 a=INT_MAX; b=INT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
409 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
410 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
421 a=SAFE_INT64_MAX; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
422 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
423 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
434 a=LONG_MAX; b=LONG_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
435 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
436 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
447 a=LLONG_MAX; b=LLONG_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
448 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
449 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
460 a=SSIZE_MAX; b=SSIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
461 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
462 a=2; b=10; EXPECT_TRUE(safe_sub(NULL, a, b));
471 a=UCHAR_MAX; b=UCHAR_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
473 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
474 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
475 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
484 a=USHRT_MAX; b=USHRT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
486 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
487 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
488 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
496 a=UINT_MAX; b=UINT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
498 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
499 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
500 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
508 a=SAFE_UINT64_MAX; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
510 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
511 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
512 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
520 a=ULONG_MAX; b=ULONG_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
522 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
523 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
524 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
532 a=ULLONG_MAX; b=ULLONG_MAX; EXPECT_TRUE
534 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
535 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
536 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
546 a=100; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
547 a=10; b=2; EXPECT_TRUE(safe_sub(NULL, a, b));
548 a=0; b=0; EXPECT_TRUE(safe_sub(NULL, a, b));
560 a=SCHAR_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
561 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
562 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
563 a=SCHAR_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
564 a=SCHAR_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
565 a=0; b=SCHAR_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
566 a=0; b=SCHAR_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
567 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
578 a=SHRT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
579 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
580 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
581 a=SHRT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
582 a=SHRT_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
583 a=0; b=SHRT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
584 a=0; b=SHRT_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
585 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
596 a=INT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
597 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
598 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
599 a=INT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
600 a=INT_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
601 a=0; b=INT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
602 a=0; b=INT_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
603 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
614 a=SAFE_INT64_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
615 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
616 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
617 a=SAFE_INT64_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
618 a=SAFE_INT64_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
619 a=0; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
620 a=0; b=SAFE_INT64_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
621 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
632 a=LONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
633 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
634 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
635 a=LONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
636 a=LONG_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
637 a=0; b=LONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
638 a=0; b=LONG_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
639 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
649 a=LLONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
650 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
651 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
652 a=LLONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
653 a=LLONG_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
654 a=0; b=LLONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
655 a=0; b=LLONG_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
656 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
666 a=SSIZE_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
667 a=100; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
668 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
669 a=SSIZE_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
670 a=SSIZE_MIN; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
671 a=0; b=SSIZE_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
672 a=0; b=SSIZE_MIN; EXPECT_TRUE(safe_mul(NULL, a, b));
673 a=0; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
686 a=UCHAR_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
687 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
688 a=1; b=UCHAR_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
689 a=UCHAR_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
690 a=UCHAR_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
691 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
704 a=USHRT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
705 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
706 a=1; b=USHRT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
707 a=USHRT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
708 a=USHRT_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
709 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
722 a=UINT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
723 a=0; b=UINT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
724 a=1; b=UINT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
725 a=UINT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
726 a=UINT_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
727 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
740 a=SAFE_UINT64_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
741 a=0; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
742 a=1; b=SAFE_UINT64_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
743 a=SAFE_UINT64_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
744 a=SAFE_UINT64_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
745 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
758 a=ULONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
759 a=0; b=ULONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
760 a=1; b=ULONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
761 a=ULONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
762 a=ULONG_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
763 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
776 a=ULLONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
777 a=0; b=ULLONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
778 a=1; b=ULLONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
779 a=ULLONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
780 a=ULLONG_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
781 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
794 a=SIZE_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
795 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
796 a=1; b=SIZE_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
797 a=SIZE_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
798 a=SIZE_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b));
799 a=10; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
809 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
818 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
827 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
836 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
845 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
853 a=10LL; b=2LL; EXPECT_TRUE(safe_mod(NULL, a, b));
861 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
868 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
870 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
877 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
879 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
886 a=0; b=UINT_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
888 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
895 a=0; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
897 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
904 a=0; b=LONG_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
906 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
913 a=0ULL; b=~0ULL; EXPECT_TRUE(safe_mod(NULL, a, b));
915 a=10ULL; b=2ULL; EXPECT_TRUE(safe_mod(NULL, a, b));
922 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
924 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b));
934 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
943 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
952 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
961 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
970 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
978 a=10LL; b=2LL; EXPECT_TRUE(safe_div(NULL, a, b));
986 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
993 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
995 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1002 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1004 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1011 a=0; b=UINT_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1013 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1020 a=0; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1022 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1029 a=0; b=LONG_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1031 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1038 a=0ULL; b=~0ULL; EXPECT_TRUE(safe_div(NULL, a, b));
1040 a=10ULL; b=2ULL; EXPECT_TRUE(safe_div(NULL, a, b));
1047 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1049 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1055 EXPECT_TRUE(__sio(m)(smin)(((int8_t)0)) == SCHAR_MIN);
1056 EXPECT_TRUE(__sio(m)(smax)(((int8_t)0)) == SCHAR_MAX);
1057 EXPECT_TRUE(__sio(m)(umax)(((uint8_t)0)) == UCHAR_MAX);
1059 EXPECT_TRUE(__sio(m)(smin)(((int16_t)0)) == SHRT_MIN);
1060 EXPECT_TRUE(__sio(m)(smax)(((int16_t)0)) == SHRT_MAX);
1061 EXPECT_TRUE(__sio(m)(umax)(((uint16_t)0)) == USHRT_MAX);
1063 EXPECT_TRUE(__sio(m)(smin)(((int32_t)0)) == INT_MIN);
1064 EXPECT_TRUE(__sio(m)(smax)(((int32_t)0)) == INT_MAX);
1065 EXPECT_TRUE(__sio(m)(umax)(((uint32_t)0)) == UINT_MAX);
1067 EXPECT_TRUE(__sio(m)(smin)(((int64_t)0)) == SAFE_INT64_MIN);
1068 EXPECT_TRUE(__sio(m)(smax)(((int64_t)0)) == SAFE_INT64_MAX);
1069 EXPECT_TRUE(__sio(m)(umax)(((uint64_t)0)) == SAFE_UINT64_MAX);
1071 EXPECT_TRUE(__sio(m)(smin)(((ssize_t)0)) == SSIZE_MIN);
1072 EXPECT_TRUE(__sio(m)(smax)(((ssize_t)0)) == SSIZE_MAX);
1073 EXPECT_TRUE(__sio(m)(umax)(((size_t)0)) == SIZE_MAX);
1075 EXPECT_TRUE(__sio(m)(smin)(((long)0)) == LONG_MIN);
1076 EXPECT_TRUE(__sio(m)(smax)(((long)0)) == LONG_MAX);
1077 EXPECT_TRUE(__sio(m)(umax)(((unsigned long)0)) == ULONG_MAX);
1079 EXPECT_TRUE(__sio(m)(smin)(((long long)0)) == LLONG_MIN);
1080 EXPECT_TRUE(__sio(m)(smax)(((long long)0)) == LLONG_MAX);
1081 EXPECT_TRUE(__sio(m)(umax)(((unsigned long long)0)) == ULLONG_MAX);