From cdd6285fb91e555895036f24e708c2ad76b9c5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Babski?= Date: Wed, 12 Jun 2024 11:39:37 +0100 Subject: [PATCH] Fixes in tests, the implementation had a bug, which was fixed --- .../resources/sequenceof_concatenate_asn_self.pml | 1 - .../resources/sequenceof_concatenate_variable_self.pml | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/unit/translator_append_operator/resources/sequenceof_concatenate_asn_self.pml b/tests/unit/translator_append_operator/resources/sequenceof_concatenate_asn_self.pml index 9ed28538..f0d978dc 100644 --- a/tests/unit/translator_append_operator/resources/sequenceof_concatenate_asn_self.pml +++ b/tests/unit/translator_append_operator/resources/sequenceof_concatenate_asn_self.pml @@ -14,7 +14,6 @@ inline Complexsdl_0_transition(id) { int i0; MyIntegerSequence _tmp_0; - _tmp_0.length = 0; MyInteger_assign_value(_tmp_0.data[_tmp_0.length], 3); _tmp_0.length = (_tmp_0.length + 1); MyInteger_assign_value(_tmp_0.data[_tmp_0.length], 4); diff --git a/tests/unit/translator_append_operator/resources/sequenceof_concatenate_variable_self.pml b/tests/unit/translator_append_operator/resources/sequenceof_concatenate_variable_self.pml index bf5993a1..5539fc60 100644 --- a/tests/unit/translator_append_operator/resources/sequenceof_concatenate_variable_self.pml +++ b/tests/unit/translator_append_operator/resources/sequenceof_concatenate_variable_self.pml @@ -20,7 +20,6 @@ inline Complexsdl_0_transition(id) { int i0; MyIntegerSequence _tmp_0; - _tmp_0.length = 0; for(i0 : 0 .. global_state.complexsdl.source_data.length) { MyInteger_assign_value(_tmp_0.data[_tmp_0.length], global_state.complexsdl.source_data.data[i0]);