r-lyeh-archived / ltalloc

LightweighT Almost Lock-Less Oriented for C++ programs memory allocator
BSD 3-Clause "New" or "Revised" License
164 stars 17 forks source link

Adding tests #19

Closed jlaumon closed 6 years ago

jlaumon commented 6 years ago

I added a small test project containing the code from the wiki (with small modifications to make it work with Catch). There's a CMakeLists.txt file to generate a project/makefile.

I also added the yml files for Travis and Appveyor, which build respectively:

I think we could also build the Android version (and run the tests on the emulator) with Travis, but I don't know much about Android so I'm leaving it for later/someone else.

If you enable Travis/Appveyor on your repo after merging (which would be great), you'll need to change the badge links in the README.md, since they point to my fork at the moment.

r-lyeh commented 6 years ago

travis-ci enabled!

r-lyeh commented 6 years ago

I've updated appveyor badge as well. Thx! :D