Added more tests (for mint_allocate)
authorYann Droneaud <ydroneaud@meuh.eu.org>
Sun, 29 Aug 2004 22:21:42 +0000 (22:21 +0000)
committerYann Droneaud <ydroneaud@meuh.eu.org>
Sun, 29 Aug 2004 22:21:42 +0000 (22:21 +0000)
commit9ecd315439f663f217258569da8634de345d0628
tree5cadebb44bf99e52a55629cd63deb69936371c0b
parentff6e7856773f5e9bde17aa80b6057485cbdf60a3
Added more tests (for mint_allocate)

Added new tests:
- mint_allocate_random:
   fill the tree, remove a random value, allocate a new value,
   compare the new value with the random value

- mint_compare:
   fill a tree with mint_set(), then mint_unset(),
   do the same thing with mint_allocate().

- mint_elevator:
   allocate X values, unset Y values previously allocated,
   with X > Y

git-archimport-id: ydroneaud@meuh.eu.org--projects-2004/mint--main--2--patch-9
ChangeLog
tests/Makefile
tests/mint_allocator_random.c [new file with mode: 0644]
tests/mint_compare.c [new file with mode: 0644]
tests/mint_elevator.c