... return (i1 > i2) ? i1 : i2; } void test_maxi(void){ cu_assert(maxi(0,2) == 2); cu_assert(maxi(0,-2) == 0); cu_assert(maxi(2,2) == 2); }.
確定! 回上一頁