test/buffer_tests.c

changeset 163
5ec9a2ca6328
parent 147
1aa598f36872
child 164
1fa3f13f774c
equal deleted inserted replaced
162:52dfe5f4ecd7 163:5ec9a2ca6328
27 */ 27 */
28 28
29 #include "buffer_tests.h" 29 #include "buffer_tests.h"
30 #include "ucx/utils.h" 30 #include "ucx/utils.h"
31 31
32 UCX_TEST(test_ucx_buffer_seektell) { 32 UCX_TEST(test_ucx_buffer_seek) {
33 UcxBuffer *b = ucx_buffer_new(NULL, 32, UCX_BUFFER_DEFAULT); 33 UcxBuffer *b = ucx_buffer_new(NULL, 32, UCX_BUFFER_DEFAULT);
34 b->size = 16; // less than capacity 34 b->size = 16; // less than capacity
35 int r; 35 int r;
36 36
37 UCX_TEST_BEGIN 37 UCX_TEST_BEGIN

mercurial