Skip to content

Commit

Permalink
Merge branch 'cc_array-test-1' into cc_array-test-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Waisbrot committed Nov 7, 2015
2 parents 903c4fa + 7bcca7b commit 4d78eed
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/array/check_array.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@
#define SUITE_NAME "array"
#define DEBUG_LOG SUITE_NAME ".log"

#define ARRAY_MAX_NELEM_DELTA 8

/*
* utilities
*/
static void
test_setup(void)
{
array_setup(ARRAY_MAX_NELEM_DELTA);
}

static void
test_reset(void)
test_teardown(void)
{
array_teardown();
}

static void
test_teardown(void)
test_reset(void)
{
test_teardown();
test_setup();
}

static void
Expand Down

0 comments on commit 4d78eed

Please sign in to comment.