Generic Enum testing framework Tests expected values of enum and string conversions Inherit this class to test typical gnsstk strongly typed enums. For each subclass, create the `ENUM`, `EXP_ENUM_STRS`, and `STR_CONVERTER` class variables. ENUM: The enum to test (e.g. gnsstk.CorrDupHandling) EXP_ENUM_STRS: A dictionary of enum values and their expected string equivalent STR_CONVERTER: the function the converts strings into enum values
Definition at line 4 of file __init__.py.
Public Member Functions | |
def | test_enum (self) |
def tests.AbstractBaseTesters.EnumTester.test_enum | ( | self | ) |
Test enum
Definition at line 20 of file __init__.py.