From 5839ce7e31b95b298afd118ca62243281b75173a Mon Sep 17 00:00:00 2001 From: heck Date: Sat, 23 Jan 2021 02:45:25 +0100 Subject: [PATCH] Array Support added. --- tests/test_pEpACIDgen.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_pEpACIDgen.py b/tests/test_pEpACIDgen.py index 16dc69d..662c9a1 100755 --- a/tests/test_pEpACIDgen.py +++ b/tests/test_pEpACIDgen.py @@ -266,9 +266,7 @@ def check_expected_types_resolved(vars, funcs, type_names_expected): # an anonymous type only exists because of its alias typedef enum { a;b;c } XE; # Therefore, only variations ending with A are valid @pytest.mark.parametrize('variation_a', ["","a"]) -@pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TT", "TTA"]) -# TODO: Typdefs of arrays ot workig curretly, SHOULD BE: -# @pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TaT", "TaTA", "TaT", "TaTA"]) +@pytest.mark.parametrize('variation_A_and_T', ["", "A", "T", "TA", "TT", "TTA", "TaT", "TaTA"]) @pytest.mark.parametrize('typekind', all_types) def test_single_var_no_alias(typekind,variation_a, variation_A_and_T): type = typekind["type"][0]