Ok....
[QUOTE]#include <iostream>
#include <map>
#include "mempool.h"
size_t failedhardcore = 0;
size_t passed = 0;
size_t ctor = 0;
size_t dtor = 0;
size_t mallocs = 0;
size_t frees = 0;
//test structure for checking that nothing overlaps
//tells me if everything constructed gets destructed
std::map<void *, bool> object_mapping;
//test to be sure of a condition
#FUCK.THIS.SHITdefine assertEquals(one, two) if (!((one) == (two))){ std::cout << #one << " != " << #two << ", " << #one << " == " << one << ", " << #two << " == " << two <<....
|
|
Bookmarks