Classes | Enumerations | Functions
gtest_enums.cpp File Reference
#include <gtest/gtest.h>
#include "behaviortree_cpp/bt_factory.h"
Include dependency graph for gtest_enums.cpp:

Go to the source code of this file.

Classes

class  ActionEnum
 
class  IsHealthOk
 
class  PrintEnum
 

Enumerations

enum  BatteryStatus { NO_FAULT = 0, LOW_BATTERY = 1 }
 
enum  Color { Color::Red = 0, Color::Blue = 1, Color::Green = 2, Color::Undefined }
 

Functions

 TEST (Enums, StrintToEnum)
 
 TEST (Enums, SubtreeRemapping)
 
 TEST (Enums, SwitchNodeWithEnum)
 
static const char * ToStr (const Color &c)
 

Enumeration Type Documentation

◆ BatteryStatus

Enumerator
NO_FAULT 
LOW_BATTERY 

Definition at line 128 of file gtest_enums.cpp.

◆ Color

enum Color
strong
Enumerator
Red 
Blue 
Green 
Undefined 

Definition at line 6 of file gtest_enums.cpp.

Function Documentation

◆ TEST() [1/3]

TEST ( Enums  ,
StrintToEnum   
)

Definition at line 52 of file gtest_enums.cpp.

◆ TEST() [2/3]

TEST ( Enums  ,
SubtreeRemapping   
)

Definition at line 202 of file gtest_enums.cpp.

◆ TEST() [3/3]

TEST ( Enums  ,
SwitchNodeWithEnum   
)

Definition at line 96 of file gtest_enums.cpp.

◆ ToStr()

static const char* ToStr ( const Color c)
static

Definition at line 14 of file gtest_enums.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18