malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

A value type for non-contiguous or negative enum values #38

Open malsyned opened 6 years ago

malsyned commented 6 years ago

the_enum only supports enumerations whose values start at 0 and are all grouped together in a contiguous range. It's possible that is all I want to support through that convenience value, and more complex enums might be the province of custom values and matchers, but if there is a nice-looking way to support noncontiguous enums, I'm open to having it included in the project.