wrote main() in bintreeTests.c
This commit is contained in:
parent
409afc165b
commit
ffde7270db
@ -76,6 +76,10 @@ void test_addToTreeExpandsTreeCorrectly(void)
|
||||
|
||||
// test if nextTreeData returns the next pice of data correctly
|
||||
// needs Stack!!!
|
||||
void test_nextTreeDataReturnsNextDataCorrectly(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
// test if clear Tree frees all node.name and node memory AND sets them to zero
|
||||
@ -163,7 +167,14 @@ void test_treeSizeWorkingLikeExpected(void)
|
||||
// main, strings together all tests
|
||||
int main()
|
||||
{
|
||||
printf("\n============================\nBinary Tree tests\n============================\n");
|
||||
UNITY_BEGIN();
|
||||
|
||||
printf("\n============================\nBinary Tree tests\n============================\n");
|
||||
RUN_TEST(test_addToTreeExpandsTreeCorrectly);
|
||||
// RUN_TEST(test_nextTreeDataReturnsNextDataCorrectly);
|
||||
RUN_TEST(test_clearTreeworksLikeExpected);
|
||||
RUN_TEST(test_treeSizeWorkingLikeExpected);
|
||||
|
||||
return UNITY_END();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user