diff --git a/gsw_check_functions.c b/gsw_check_functions.c index 1b911be..83b63e8 100644 --- a/gsw_check_functions.c +++ b/gsw_check_functions.c @@ -111,7 +111,7 @@ int assert_equal(int actual, int expected, const char *test_name) { void test_infunnel() { // Inside the funnel. int result1 = gsw_infunnel(35.0, 5.0, 400); - assert_equal(result1, 0, "gsw_infunnel -> inside funnel"); + assert_equal(result1, 1, "gsw_infunnel -> inside funnel"); int result2 = gsw_infunnel(20.0, 7.0, 2000); assert_equal(result2, 1, "gsw_infunnel -> inside funnel");