18 lines
285 B
C
18 lines
285 B
C
|
#include "unity.h"
|
||
|
#include "cieter_dynarray.h"
|
||
|
|
||
|
void setUp(void) {}
|
||
|
void tearDown(void) {}
|
||
|
|
||
|
void test_init() {
|
||
|
CieterDynArray *arr = cieter_dynarray_init(2);
|
||
|
|
||
|
TEST_ASSERT_NOT_NULL(arr);
|
||
|
}
|
||
|
|
||
|
int main(void) {
|
||
|
UNITY_BEGIN();
|
||
|
RUN_TEST(test_init);
|
||
|
return UNITY_END();
|
||
|
}
|