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

Refactoring merge comparisions #61

Merged
merged 1 commit into from
May 4, 2022
Merged

Refactoring merge comparisions #61

merged 1 commit into from
May 4, 2022

Conversation

ThibFrgsGmz
Copy link
Contributor

Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

This PR includes the following change:

  • Consolidates multiple comparisons into a single comparison [ref]

Rationale

We simplify the comparison of one value to another among several possible values by using the in operator and moving the compared values into a collection.

This eliminates some duplication, and the conditional can now be assimilated and understood at a glance.

Testing/Review Recommendations

(void)

Future Work

(void)

@LeStarch LeStarch merged commit 613d1df into nasa:devel May 4, 2022
@ThibFrgsGmz ThibFrgsGmz deleted the feat/merge-comparisons branch July 20, 2022 21:29
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.

None yet

2 participants