Go to the documentation of this file.
7 #include <gtest/gtest.h>
15 TEST(StateEnumTest, StateEnumToIdWorksCorrectly)
26 TEST(StateEnumTest, StateIdToEnumWorksCorrectly)
37 TEST(StateEnumTest, StateEnumToNameWorksCorrectly)
47 TEST(StateEnumTest, StateNameToEnumWorksCorrectly)
#define ROKUBIMINI_STATE_ID_STANDBY
#define ROKUBIMINI_STATE_NAME_NA
#define ROKUBIMINI_STATE_NAME_STANDBY
StateEnum stateNameToEnum(const std::string &string)
Gets a state enumeration matching the state name.
#define ROKUBIMINI_STATE_NAME_ERROR
#define ROKUBIMINI_STATE_ID_DEVICE_MISSING
#define ROKUBIMINI_STATE_NAME_CALIBRATE
#define ROKUBIMINI_STATE_ID_FATAL
uint16_t stateEnumToId(const StateEnum stateEnum)
Gets an ID matching the state enumeration.
std::string stateEnumToName(const StateEnum stateEnum)
Gets a name matching the state enumeration.
#define ROKUBIMINI_STATE_NAME_FATAL
TEST(StateEnumTest, StateEnumToIdWorksCorrectly)
#define ROKUBIMINI_STATE_NAME_DEVICE_MISSING
StateEnum stateIdToEnum(uint16_t stateId)
Gets a state enumeration matching the state ID.
#define ROKUBIMINI_STATE_ID_OPERATIONAL
#define ROKUBIMINI_STATE_ID_NA
#define ROKUBIMINI_STATE_ID_CALIBRATE
#define ROKUBIMINI_STATE_NAME_OPERATIONAL
#define ROKUBIMINI_STATE_ID_ERROR
rokubimini
Author(s):
autogenerated on Sat Apr 15 2023 02:53:52