diff --git a/README.md b/README.md index 24bf8a2..fd36c33 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ bindings documentation ### Documentation After build, documentation is in __docs directory__. Documentation is built -in html xml and latex format. Only uncomplete documentation for C library +in html xml and latex format. Only incomplete documentation for C library is available at the moment. Look at bindings unittest `__test.py__` for python bindings usage. diff --git a/libcomps/tests/check_list.c b/libcomps/tests/check_list.c index cf92749..6536e81 100644 --- a/libcomps/tests/check_list.c +++ b/libcomps/tests/check_list.c @@ -114,7 +114,7 @@ START_TEST(test_remove) fail_unless(*(int*)it->data == 77, "Item data after remove should be 77 not %d", *(int*)it->data); - fail_unless(list->len == 8, "List lenght should be 8"); + fail_unless(list->len == 8, "List length should be 8"); tmp = list->len; for (i=0; i < tmp; i++) { @@ -164,9 +164,9 @@ START_TEST(test_insert) } for (i=0; idata) == test_data[i], "Item data doens't match"); + fail_unless(*((int*)item->data) == test_data[i], "Item data does not match"); } - fail_unless(list->len == 10, "List lenght should be 10"); + fail_unless(list->len == 10, "List length should be 10"); data = 14; item = comps_list_item_create((void*)&data,