summaryrefslogtreecommitdiff
path: root/test/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/list.h')
-rw-r--r--test/list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/list.h b/test/list.h
index 444f5c8..5732032 100644
--- a/test/list.h
+++ b/test/list.h
@@ -32,4 +32,9 @@ void list_add(struct list* list, void* data);
*/
bool list_contains(struct list* list, void* data, int (*comparator)(const void* a, const void* b));
+/**
+ * Tests if superlist contains all elements in sublist. Order is not important.
+ */
+bool list_contains_all(struct list* superList, struct list* subList, int (*comparator)(const void* a, const void* b));
+
#endif