-
Notifications
You must be signed in to change notification settings - Fork 6
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
[ENH] Add LevelProperty
public attribute to all the levels
#22
Conversation
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
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.
I added unit-tests to check for these properties, and also added a BaseCase
test where possible
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
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.
I'll clean up the commented code in the unit-tests once you both have a chance to review the code
Signed-off-by: Adam Li <[email protected]>
If this is good design, then I can revisit the PR on co iteration. |
Signed-off-by: Adam Li <[email protected]>
@bharath2438 Could you give this a shallow review? I'll merge on your approval. |
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.
Yes, these look good.
Merging, thanks for the fixes, @adam2392! |
Towards: #19
Adds LevelProperty() constexpr function to allow each class access to the levelproperties during compile time, without explicitly writing the class type.