1#ifndef LOLLY_TBOX_MACROS_H
2#define LOLLY_TBOX_MACROS_H
4#include "doctest/doctest.h"
47#define TM_CHECK_THROWS(statements) \
48 CHECK_THROWS (statements); \
51#define TEST_MEMORY_LEAK_ALL \
52 TEST_CASE ("test memory leak above") { CHECK_EQ (mem_used (), mem_lolly); }
54#define TEST_MEMORY_LEAK_INIT \
56 TEST_CASE ("read before test") { mem_lolly= mem_used (); }
58#define TEST_MEMORY_LEAK_RESET \
59 TEST_CASE ("reset test of memory leak") { mem_lolly= mem_used (); }
The list class represents a linked list.
void url_eq(url left, url right)
void string_eq(string left, string right)
void url_neq(url left, url right)
void string_neq(string left, string right)