ENH: Run test for enum_thorough in R

This test exercises many complex cases for enumerations in R.

References to enums currently fail and will be addressed in
the next patch.

Anonymous enums are not supported.

There are some strange corner cases that could be seen as
doing strange things in R. enums are allowed to have the
same underlying integer representation on the C side. This
means that the R structure ends up with two names for the
same integer, which in turn means that the reverse lookup
isn't unique. I don't think this matters. I'll add some
of these cases to the documentation.
This commit is contained in:
Richard Beare 2019-02-06 15:26:08 +11:00 • committed by Richard Beare
commit 62594c611a
2 changed files with 453 additions and 1 deletions

View file

@ -27,7 +27,6 @@ CPP_TEST_CASES += \
# arithmetic expressions
FAILING_CPP_TESTS = \
enum_thorough \
preproc_constants
FAILING_C_TESTS = \