Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum MyType { Red, Green, Blue, …, LastColor };
- int MyFunc(MyType[] args) { /*implementation*/}
- ??? GenerateParams(???)
- {
- }
- bool ValidateMyFunc()
- {
- // Iterate over all permutation
- // GenerateParams
- // Call MyFunc with the generates params
- }
Add Comment
Please, Sign In to add comment