-
Notifications
You must be signed in to change notification settings - Fork 0
EnumUtils #1
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
base: trunk
Are you sure you want to change the base?
EnumUtils #1
Conversation
Codecov Report
@@ Coverage Diff @@
## trunk #1 +/- ##
===========================================
+ Coverage 13.22% 34.95% +21.73%
===========================================
Files 4 3 -1
Lines 121 123 +2
Branches 70 72 +2
===========================================
+ Hits 16 43 +27
+ Misses 101 59 -42
- Partials 4 21 +17
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Now just needs docs for all the added stuff. |
bwhitchurch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs documentation for added stuff. May be a couple of missed deletions from refactoring cube.hpp.
| /*! | ||
| * @brief number of faces on a cube. | ||
| */ | ||
| constexpr size_t num_cube_faces = 6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These constants may not be necessary anymore. Should remove them
| {CubeFace::LEFT, 'L'}, | ||
| {CubeFace::FRONT, 'F'}, | ||
| {CubeFace::BACK, 'B'}}}}; | ||
| constexpr size_t num_turns = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this constant
Create a better reflective enum (inspired by BetterEnums) to replace biEnum. Refactor existing code in cube.hpp and scrambler to use new enum stuff.