Public Member Functions | List of all members
tests.AbstractBaseTesters.EnumTester Class Reference

Detailed Description

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.

Inheritance diagram for tests.AbstractBaseTesters.EnumTester:
Inheritance graph
[legend]

Public Member Functions

def test_enum (self)
 

Member Function Documentation

◆ test_enum()

def tests.AbstractBaseTesters.EnumTester.test_enum (   self)
Test enum

Definition at line 20 of file __init__.py.


The documentation for this class was generated from the following file:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:46