test/dlist_tests.h

Wed, 27 Feb 2013 14:04:45 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Feb 2013 14:04:45 +0100
changeset 97
499e1b465d77
parent 90
ef3163857e88
child 103
08018864fb91
permissions
-rw-r--r--

fixed execution order of tests + added test for sstrtrim

/* 
 * File:   dlist_tests.h
 * Author: Mike
 *
 * Created on 18. Februar 2012, 18:26
 */

#ifndef DLIST_TESTS_H
#define	DLIST_TESTS_H

#include "main.h"

#include "ucx/dlist.h"
#include "ucx/test.h"

#ifdef	__cplusplus
extern "C" {
#endif

/*
 * Assumed to be correct:
 *   ucx_dlist_free
 */

UCX_TEST_DECLARE(test_ucx_dlist_append);
UCX_TEST_DECLARE(test_ucx_dlist_prepend);
UCX_TEST_DECLARE(test_ucx_dlist_equals);
UCX_TEST_DECLARE(test_ucx_dlist_concat);
UCX_TEST_DECLARE(test_ucx_dlist_size);
UCX_TEST_DECLARE(test_ucx_dlist_first);
UCX_TEST_DECLARE(test_ucx_dlist_last);
UCX_TEST_DECLARE(test_ucx_dlist_get);
UCX_TEST_DECLARE(test_ucx_dlist_contains);
UCX_TEST_DECLARE(test_ucx_dlist_remove);
UCX_TEST_DECLARE(test_ucx_dlist_clone);
UCX_TEST_DECLARE(test_ucx_dlist_sort);

#ifdef	__cplusplus
}
#endif

#endif	/* DLIST_TESTS_H */

mercurial