add test for enumeration conversion - #1332
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1332 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 19 19
Lines 5225 5225
Branches 1131 1131
=========================================
Hits 5225 5225 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Your tests are failing because variables are uninitialised: |
|
That's allowed, but yes, it's tripping up an optional rule. |
Initialize the test variables (cppcoreguidelines-init-variables) and use std::map for the enum-keyed map, since GCC before 6.1 has no std::hash for enums. Assisted-by: ClaudeCode:claude-fable-5
32b777f to
e652202
Compare
Looking into #1330,
adding a test for the described issue.