37 Commits
Author SHA1 Message Date
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 a2ae209992 Happy new year 2023-01-02 12:57:41 +01:00
Patrick Pelissier aba2f90c9d Add test for emplace generation for variant 2022-04-28 23:10:40 +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 510cd062ba Rename DICT, TUPLE & VARIANT _clean in _reset to avoid confusing _clean & _clear functions. See #97 2021-10-28 17:51:17 +02:00
Patrick Pelissier 25fe26deaa Happy new year 2021-01-13 20:18:01 +01:00
Patrick Pelissier ad4dcae1db Add macro VARIANT_DEF2_AS 2020-10-03 14:07:14 +02:00
Patrick Pelissier 805c747c60 Add more assertions (help static analyzer) 2020-08-22 18:54:51 +02:00
Patrick Pelissier d27c448a94 Fix some warnings with MSVS
for the test suite.
2020-06-21 23:52:12 +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 de3cbe45b4 Make INIT method optional. 2018-09-08 09:47:36 +02:00
Patrick Pelissier af5742ce2d Change the value used to generate the enumerate of a variant:
the previous values didn't prevent to have a name collision
with other methods defined for the variant.
2018-08-21 22:53:07 +02:00
Patrick Pelissier 4ba0156ad8 Backport solution from tuple to variant. 2018-08-19 08:45:10 +02:00
Patrick Pelissier 1bb144e256 VARIANT: Oplist is now optional for their definition. 2018-08-07 23:18:37 +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 139e003b0b Add method _parse_str for variant. 2018-05-03 17:01:03 +02:00
Patrick Pelissier 34d0f8ec81 Add missing function for variant:
variant_init_element
variant_init_set_element
2018-04-30 10:24:37 +02:00
Patrick Pelissier bc83fe43e5 Remove dependency on GMP, so that it is easier to run the bench suite. 2018-03-29 20:01:45 +02:00
Patrick Pelissier 210e05f7fc Update copyright to 2018 2018-01-29 20:28:30 +01:00
Patrick Pelissier 611fdd5f16 Improve coverage for variant 2017-12-30 11:58:36 +01:00
Patrick Pelissier a07d71274a Fix issue with massive parallele check 2017-10-25 21:46:54 +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 985b9a04e4 Remove useless function set_empty.
clean is enough.
2017-06-13 00:14:40 +02:00
Patrick Pelissier 47babf5689 Add new test 2017-04-26 23:49:34 +02:00
Patrick Pelissier 22e9e52b13 Add more tests. 2017-04-23 10:10:57 +02:00
Patrick Pelissier 41aa717782 Proper use of exit to terminate a test. 2017-03-12 18:56:03 +01:00
Patrick Pelissier 709cd07995 Add I/O tests for variants.
Fix bugs in I/O operators for variants.
2017-03-04 19:45:28 +01:00
Patrick Pelissier 2af4cb2fc2 WIP: computing coverage of the tests. 2017-03-02 22:35:22 +01:00
Patrick Pelissier b38a926f3c Adding OUT_STR & GET_STR operators for variants 2017-02-28 22:42:20 +01:00
Patrick Pelissier fe70037027 Added test for variant with proper init/clear function. 2017-02-26 23:47:41 +01:00
Patrick Pelissier ca34c746aa Fix problem when using more than one macro VARIANT_DEF2 2017-02-26 00:34:03 +01:00
Patrick Pelissier e2bb0407ec More tests. 2017-02-26 00:09:07 +01:00
Patrick Pelissier 794ac73441 Update tests & fix variant code. 2017-02-26 00:06:02 +01:00
Patrick Pelissier 30c08d16e3 Add first test on variant. 2017-02-26 00:01:53 +01:00