diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
commit | 5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch) | |
tree | 3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/heap_test.c | |
parent | fa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff) |
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/heap_test.c')
-rw-r--r-- | lib/heap_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/heap_test.c b/lib/heap_test.c index 40c9dd83..c04a0450 100644 --- a/lib/heap_test.c +++ b/lib/heap_test.c @@ -82,7 +82,7 @@ t_heap_insert(void) bt_assert(is_heap_valid(heap, num)); } - return BT_SUCCESS; + return 1; } static int @@ -110,7 +110,7 @@ t_heap_increase_decrease(void) bt_assert(is_heap_valid(heap, num)); } - return BT_SUCCESS; + return 1; } static int @@ -128,7 +128,7 @@ t_heap_delete(void) bt_assert(is_heap_valid(heap, num)); } - return BT_SUCCESS; + return 1; } static int @@ -139,7 +139,7 @@ t_heap_0(void) t_heap_increase_decrease(); t_heap_delete(); - return (heap[0] == SPECIAL_KEY) ? BT_SUCCESS : BT_FAILURE; + return heap[0] == SPECIAL_KEY; } static int @@ -168,7 +168,7 @@ t_heap_insert_random(void) bt_abort_msg("Did not find a number %d in heap.", expected[i]); } - return BT_SUCCESS; + return 1; } int |