Update test suite to properly allocation & deallocation
This commit is contained in:
1 parent
50e8d1f469
commit
37b2f4d2ac
29 files changed
+82
-68
No files matched your search
+2
-3
@@ -22,9 +22,9 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
|
||||
#include "test-obj.h"
|
||||
#include "m-i-list.h"
|
||||
#include "coverage.h"
|
||||
|
||||
typedef struct test_s {
|
||||
int n;
|
||||
@@ -37,7 +37,6 @@ static inline bool test_equal_p(const test_t *i1, const test_t *i2)
|
||||
return i1->n == i2->n;
|
||||
}
|
||||
|
||||
#include "coverage.h"
|
||||
START_COVERAGE
|
||||
ILIST_DEF(ilist_tname, test_t, M_OPEXTEND(M_POD_OPLIST, EQUAL(API_6(test_equal_p))))
|
||||
END_COVERAGE
|
||||
|
||||
Reference in new issue
Block a user