#include <gtest/gtest.h>
#include "usv_gazebo_plugins/polyhedron_volume.hh"
#include "usv_gazebo_plugins/shape_volume.hh"
Go to the source code of this file.
Functions | |
sdf::ElementPtr | generateGeometryElem (const std::string &str) |
int | main (int argc, char **argv) |
Main. More... | |
TEST (PolyhedronTest, CubeTotalVolume) | |
TEST (PolyhedronTest, CylinderTotalVolume) | |
TEST (PolyhedronTest, CubeNotSubmerged) | |
TEST (PolyhedronTest, CylinderNotSubmerged) | |
TEST (PolyhedronTest, CubeSubmerged) | |
TEST (PolyhedronTest, CylinderSubmerged) | |
TEST (ShapeVolumeTest, CubeNoRotation) | |
TEST (ShapeVolumeTest, CubeRotation) | |
TEST (ShapeVolumeTest, CylinderNoRotation) | |
TEST (ShapeVolumeTest, CylinderRotation) | |
TEST (ShapeVolumeTest, Sphere) | |
sdf::ElementPtr generateGeometryElem | ( | const std::string & | str | ) |
Definition at line 155 of file buoyancy_test.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Main.
Definition at line 341 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CubeTotalVolume | |||
) |
Definition at line 8 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CylinderTotalVolume | |||
) |
Definition at line 19 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CubeNotSubmerged | |||
) |
Definition at line 30 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CylinderNotSubmerged | |||
) |
Definition at line 47 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CubeSubmerged | |||
) |
Definition at line 64 of file buoyancy_test.cc.
TEST | ( | PolyhedronTest | , |
CylinderSubmerged | |||
) |
Definition at line 110 of file buoyancy_test.cc.
TEST | ( | ShapeVolumeTest | , |
CubeNoRotation | |||
) |
Definition at line 175 of file buoyancy_test.cc.
TEST | ( | ShapeVolumeTest | , |
CubeRotation | |||
) |
Definition at line 207 of file buoyancy_test.cc.
TEST | ( | ShapeVolumeTest | , |
CylinderNoRotation | |||
) |
Definition at line 242 of file buoyancy_test.cc.
TEST | ( | ShapeVolumeTest | , |
CylinderRotation | |||
) |
Definition at line 276 of file buoyancy_test.cc.
TEST | ( | ShapeVolumeTest | , |
Sphere | |||
) |
Definition at line 306 of file buoyancy_test.cc.