Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added BOOLS_TO_XX.fct files to utils-1.0.0 #239

Merged
merged 12 commits into from
Aug 16, 2024

Conversation

MoritzO02
Copy link

Added BOOLS_TO_BYTES, BOOLS_TO_DWORD, BOOLS_TO_LWORD, BOOLS_TO_WORD functions.
Also added assembling directory under utils-typelib
for issue #221

Copy link

github-actions bot commented Jul 1, 2024

Test Results

    97 files  ±0      97 suites  ±0   39s ⏱️ -1s
27 173 tests +1  27 173 ✅ +1  0 💤 ±0  0 ❌ ±0 
27 174 runs  +1  27 174 ✅ +1  0 💤 ±0  0 ❌ ±0 

Results for commit 6aeb432. ± Comparison against base commit 9166b73.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
org.eclipse.fordiac.ide.structuredtextalgorithm.tests.STAlgorithmFormattingTest ‑ splitOperatorKeepsLineBreaksTest
org.eclipse.fordiac.ide.structuredtextfunctioneditor.tests.Formatter2Test ‑ testMemberAccess
org.eclipse.fordiac.ide.structuredtextfunctioneditor.tests.Formatter2Test ‑ testStructInitializerExpression

♻️ This comment has been updated with latest results.

Copy link
Member

@MartinMelikMerkumians MartinMelikMerkumians left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a general remark, TO* named functions are reserved for official cast functions.
The functions introduced here are not casts and introduce a big potential for mistyping names BOOL_TO vs BOOLS_TO

Please propose other names, in order to make those functions clearly distinguishable from standardized cast functions

@diplfranzhoepfinger
Copy link

Added BOOLS_TO_BYTES,

@MoritzO02 it is BOOLS_TO_BYTE because many Bools make ONE Byte.

@MoritzO02 MoritzO02 marked this pull request as draft July 6, 2024 20:42
@MoritzO02 MoritzO02 marked this pull request as ready for review July 15, 2024 17:46
Copy link

@diplfranzhoepfinger diplfranzhoepfinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, Approved

@MoritzO02 MoritzO02 marked this pull request as draft July 21, 2024 20:25
@MoritzO02 MoritzO02 marked this pull request as ready for review July 21, 2024 20:26
@MoritzO02 MoritzO02 closed this Jul 21, 2024
@MoritzO02 MoritzO02 reopened this Jul 21, 2024
@MoritzO02 MoritzO02 force-pushed the feature/add_BOOLS_TO_XX_fct branch from 9dcd9c1 to ceeddac Compare July 21, 2024 20:54
Copy link

@franz-hoepfinger-4diac franz-hoepfinger-4diac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, Approved.

@azoitl azoitl merged commit 391d2bf into eclipse-4diac:develop Aug 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants