forked from freudenreichan/info2Praktikum-DobleSpiel
Remove toArray function
This commit is contained in:
3 files changed
-26
No files matched your search
@@ -29,14 +29,6 @@ static void test_addToTreeAllNullReturnsNull(void)
|
||||
TEST_ASSERT_NULL(addToTree(NULL, NULL, 0, NULL, NULL));
|
||||
}
|
||||
|
||||
static void test_toArrayWorks(void)
|
||||
{
|
||||
TreeNode *const tree = buildTree();
|
||||
const int *array = toArray(tree, sizeof(int));
|
||||
const int expected[4] = {1, 2, 3, 4,};
|
||||
TEST_ASSERT_EQUAL_INT_ARRAY(expected, array, 4);
|
||||
}
|
||||
|
||||
static void test_addToTreeBuildsTreeInOrder(void)
|
||||
{
|
||||
const TreeNode *const tree = buildTree();
|
||||
|
||||
Reference in new issue
Block a user