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

Cover All Types in Angle Test #59

Open
threeal opened this issue Nov 7, 2021 · 0 comments
Open

Cover All Types in Angle Test #59

threeal opened this issue Nov 7, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@threeal
Copy link
Member

threeal commented Nov 7, 2021

Cover every type (float, double, int, etc.) during Angle test. Some solution is by using combination of function macros as follows:

#define FUNCTION(TYPE) \
{ \
  /* some code */ \
}

#define ITERATE_ALL_TYPES(FUNCTION) \
{ \
  FUNCTION(float) \
  FUNCTION(double) \
  FUNCTION(int) \
  /* etc. */ \
}

Or by passing generic functions, or lambdas.

@threeal threeal added the enhancement New feature or request label Nov 7, 2021
@threeal threeal added this to the First Major Release milestone Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant