C++ (Qt)int addIfBothPositive(int a, int b) void test() { assert (addIfPositive(1, 2) == 3); assert (addIfPositive(1, -2) == 1); assert (addIfPositive(1, 0) == 1); assert (addIfPositive(-1, 5) == -1); assert (addIfPositive(-1, -5) == -1);}