Patrick Pelissier
37b2f4d2ac
Update test suite to properly allocation & deallocation
2025-05-07 21:02:23 +02:00
Patrick Pelissier
6d621703eb
Copyright go to 2025 year
2025-03-01 11:03:38 +01:00
Patrick Pelissier
52b58c5a51
Happy new year 2024
2024-01-19 21:37:47 +01:00
Patrick Pelissier
4ea83e129e
Improve coverage of test suite
2023-04-08 00:17:33 +02:00
Patrick Pelissier
d02de75487
Add control that all initialized testobj are properly cleared at the end of the test suite
2023-03-12 20:29:58 +01:00
Patrick Pelissier
b3440a2edd
Fix position of assertions
2023-02-24 20:35:32 +01:00
Patrick Pelissier
4140df5bfc
Improve test suite
2023-02-24 19:56:56 +01:00
Patrick Pelissier
a2ae209992
Happy new year
2023-01-02 12:57:41 +01:00
Patrick Pelissier
c8275c8f63
Add test cases for generated emplace functions
2022-04-23 09:19:58 +02:00
Patrick Pelissier
e1abf0528c
Rename M_DEFAULT_OPLIST in M_BASIC_OPLIST (cleaner name)
2022-04-08 22:54:29 +02:00
Patrick Pelissier
19b01b404d
Migrate to 2022
2022-03-12 20:25:45 +01:00
Patrick Pelissier
826d251ffe
Rename RBTREE & BPTREE _clean in _reset to avoid confusing _clean & _clear functions. See #97
2021-10-28 17:55:54 +02:00
Patrick Pelissier
44801b8b91
Add more tests for _remove (that triggered an issue in _previous)
2021-10-10 20:35:44 +02:00
Patrick Pelissier
fbc8f407eb
Add test for method _remove
2021-10-10 10:18:06 +02:00
Patrick Pelissier
85a363d325
Update definition of returned iterator of _it_from of RB tree
...
from the greatest element of 'rbtree' lower of equal than 'data'
to the lowest element of the tree 'rbtree' greater or equal than 'data'
It is more logical and natural:
if you have a tree of elements between [2, 4], and you want
to iterate all elements from 0 to 10, the old definition doesn't allow
you to iterate easily over this subset.
2021-07-16 22:46:44 +02:00
Patrick Pelissier
983d90b731
* Complete tests on iterators to be more exhaustive.
...
* Add tests on _it_from/_it_until_p/_it_while_p.
2021-07-16 21:46:57 +02:00
Patrick Pelissier
a79cd9da97
Fix issue for RB Tree _it_equal_p method
...
if both iterators are equal and are associated
to a RB tree without any element.
2021-07-05 22:44:58 +02:00
Patrick Pelissier
25fe26deaa
Happy new year
2021-01-13 20:18:01 +01:00
Patrick Pelissier
acb886c391
Add macro RBTREE_DEF_AS
2020-10-03 14:07:14 +02:00
Patrick Pelissier
50b1bedc54
Workaround some warnings
2020-07-11 20:13:31 +02:00
Patrick Pelissier
70de571dc8
Fix warnings in test suite.
2020-06-22 00:14:55 +02:00
Patrick Pelissier
d27c448a94
Fix some warnings with MSVS
...
for the test suite.
2020-06-21 23:52:12 +02:00
Patrick Pelissier
b27f490acb
Fix typing
2020-06-14 00:18:26 +02:00
Patrick Pelissier
4ab3a3605b
Fix -Wsign-conversion warnings in tests.
2020-06-13 19:43:52 +02:00
Patrick Pelissier
4f7b0b9455
Happy new year 2020
2020-01-04 15:41:06 +01:00
Patrick Pelissier
8b3a4a802c
Happy new year!
2019-01-02 18:12:07 +01:00
Patrick Pelissier
5915208dee
API breakage:
...
Rename _pop method into _pop_at method
as the provided function is a _pop_at method, not a _pop method.
Remove _pop from the oplist as it doesn't follow _pop convention.
2018-06-27 07:17:33 +02:00
Patrick Pelissier
e9f603fa30
Rename internal calls to my_mpz* to testobj*
2018-05-08 10:40:29 +02:00
Patrick Pelissier
1a064e033b
Rename mympz.h --> test-obj.h
...
as it is used only for testing purpose.
2018-05-08 10:29:51 +02:00
Patrick Pelissier
e855f27c8c
Add method _parse_str for RBTREE.
...
NOTE: A refactorisation seems needed as all the in_str / parse_str
share a lot of the same algorithms. Maybe move them into algo?
2018-05-03 17:59:34 +02:00
Patrick Pelissier
40747a463b
Remove dependecies from GMP header, allowing to run the test suite without GMP
2018-04-14 08:16:31 +02:00
Patrick Pelissier
210e05f7fc
Update copyright to 2018
2018-01-29 20:28:30 +01:00
Patrick Pelissier
5eaf796aab
Remove warnings
2018-01-12 18:46:26 +01:00
Patrick Pelissier
d46c40d3fa
Don't compute coverage of the float expansion.
2018-01-09 20:05:05 +01:00
Patrick Pelissier
2461afa573
Improve coverage suite.
2018-01-09 20:03:05 +01:00
Patrick Pelissier
a07d71274a
Fix issue with massive parallele check
2017-10-25 21:46:54 +02:00
Patrick Pelissier
7d2848e16a
Remove rbtree_prefix from Red Black Tree.
...
(See commit on shared-pointer).
Rename rbntree_name_it_t into name_it_t.
Update tests, documentation, bench in accordance.
2017-07-26 22:56:25 +02:00
Patrick Pelissier
672c2d509d
Update the way of working of the coverage so that it produces
...
more useful information about the line coveraged, and avoid
expanding low level macros.
2017-07-10 17:35:16 +02:00
Patrick Pelissier
27fd810259
Rename M_OPLIST_CAT into M_OPCAT, M_OPLIST_FLAT into M_OPFLAT
...
Add M_OPLIST_EXTEND
Use it instead of M_OPLIST_CAT.
2017-05-01 17:24:22 +02:00
Patrick Pelissier
3265c9fb4d
Add _swap for RBTREE
2017-03-14 20:40:04 +01:00
Patrick Pelissier
41aa717782
Proper use of exit to terminate a test.
2017-03-12 18:56:03 +01:00
Patrick Pelissier
e164b3fb44
Add test for OUT_STR / IN_STR & GET_STR for BRTREE
...
Fix bugs
2017-03-09 22:24:34 +01:00
Patrick Pelissier
2af4cb2fc2
WIP: computing coverage of the tests.
2017-03-02 22:35:22 +01:00
Patrick Pelissier
8e9d20ba1a
Add initial stuff
2017-02-18 18:51:04 +01:00