The test should verify that enums can be correctly converted to values and back in the generated code.
The test should also make sure it works with non-sequential enums, .e.g.:
public enum testdata {
a = 4,
b = 7
}
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/48158119-make-a-test-case-for-enum-to-number-and-vice-versa-conversion?utm_campaign=plugin&utm_content=tracker%2F36576838&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F36576838&utm_medium=issues&utm_source=github).
The test should verify that enums can be correctly converted to values and back in the generated code.
The test should also make sure it works with non-sequential enums, .e.g.: