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

constants in classes #30

Open
parmentelat opened this issue Nov 3, 2020 · 0 comments
Open

constants in classes #30

parmentelat opened this issue Nov 3, 2020 · 0 comments

Comments

@parmentelat
Copy link
Owner

in the context e.g. of the Quaternion class, it would make sense to be able
to define constants in a ClassExercise (e.g. I = Quaternion(0, 1, 0, 0))
so that subsequent tests can refer to these through constant names
instead of having to pollute the whole scenario with initializations over and over again

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

No branches or pull requests

1 participant