checkEnum

Runs a series of tests to check that the specified enum type contains members with the specified names and values. The name and value lists are assumed to be in the same order (i.e. namesi corresponds to valuesi).

version(unittest)
void
checkEnum
(
E : IEnum
)
(,
int[] values
)

Parameters

E

enum type to check

Params:

names istring[]

list of names expected to be in the enum

values int[]

list of values expected to be in the enum

Meta