|
Engine²
Open-source game engine written in C++.
|
#include <gtest/gtest.h>#include "component/Relationship.hpp"#include "core/Core.hpp"#include "utils/Utils.hpp"Classes | |
| struct | TestComponent |
Functions | |
| TEST (Relationship, initialization) | |
| TEST (Relationship, one_child) | |
| TEST (Relationship, multiple_children) | |
| TEST (Relationship, remove_parent) | |
| TEST (Relationship, get_parent_of_child_without_relationship_component) | |
| TEST (Relationship, for_each_child) | |
| TEST (Relationship, try_get_child_components) | |
| TEST (Relationship, try_get_parent_component) | |
| TEST (Relationship, try_get_parent_component_no_parent) | |
| TEST (Relationship, try_get_parent_component_parent_has_no_component) | |
| TEST (Relationship, try_get_child_components_no_children) | |
| TEST (Relationship, try_get_child_components_children_have_no_component) | |
| TEST | ( | Relationship | , |
| for_each_child | ) |
| TEST | ( | Relationship | , |
| get_parent_of_child_without_relationship_component | ) |
| TEST | ( | Relationship | , |
| initialization | ) |
| TEST | ( | Relationship | , |
| multiple_children | ) |
| TEST | ( | Relationship | , |
| one_child | ) |
| TEST | ( | Relationship | , |
| remove_parent | ) |
| TEST | ( | Relationship | , |
| try_get_child_components | ) |
| TEST | ( | Relationship | , |
| try_get_child_components_children_have_no_component | ) |
| TEST | ( | Relationship | , |
| try_get_child_components_no_children | ) |
| TEST | ( | Relationship | , |
| try_get_parent_component | ) |
| TEST | ( | Relationship | , |
| try_get_parent_component_no_parent | ) |
| TEST | ( | Relationship | , |
| try_get_parent_component_parent_has_no_component | ) |