Test with deque too.
This commit is contained in:
1 parent
482e1631fa
commit
7ccede36b1
1 file changed
+4
@@ -23,18 +23,22 @@
|
|||||||
#include "m-list.h"
|
#include "m-list.h"
|
||||||
#include "m-array.h"
|
#include "m-array.h"
|
||||||
#include "m-string.h"
|
#include "m-string.h"
|
||||||
|
#include "m-deque.h"
|
||||||
|
#include "test-obj.h"
|
||||||
#include "m-algo.h"
|
#include "m-algo.h"
|
||||||
|
|
||||||
// TODO: Test other containers? HASHMAP, RBTREE, B+TREE, Intrusive List
|
// TODO: Test other containers? HASHMAP, RBTREE, B+TREE, Intrusive List
|
||||||
ARRAY_DEF(array_int, int)
|
ARRAY_DEF(array_int, int)
|
||||||
LIST_DEF(list_int, int)
|
LIST_DEF(list_int, int)
|
||||||
LIST_DEF(list_string, string_t, STRING_OPLIST)
|
LIST_DEF(list_string, string_t, STRING_OPLIST)
|
||||||
|
DEQUE_DEF(deque_obj, testobj_t, TESTOBJ_CMP_OPLIST)
|
||||||
|
|
||||||
#include "coverage.h"
|
#include "coverage.h"
|
||||||
START_COVERAGE
|
START_COVERAGE
|
||||||
ALGO_DEF(algo_array, ARRAY_OPLIST(array_int))
|
ALGO_DEF(algo_array, ARRAY_OPLIST(array_int))
|
||||||
ALGO_DEF(algo_list, LIST_OPLIST(list_int))
|
ALGO_DEF(algo_list, LIST_OPLIST(list_int))
|
||||||
ALGO_DEF(algo_string, LIST_OPLIST(list_string, STRING_OPLIST))
|
ALGO_DEF(algo_string, LIST_OPLIST(list_string, STRING_OPLIST))
|
||||||
|
ALGO_DEF(algo_deque, DEQUE_OPLIST(deque_obj, TESTOBJ_CMP_OPLIST))
|
||||||
END_COVERAGE
|
END_COVERAGE
|
||||||
|
|
||||||
int g_min, g_max, g_count;
|
int g_min, g_max, g_count;
|
||||||
|
|||||||
Reference in new issue
Block a user