CDT++
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Functions | Variables
Tetrahedron_test.cpp File Reference

Tests for 3D triangulated and foliated tetrahedrons. More...

#include <doctest/doctest.h>
#include <numbers>
#include "Foliated_triangulation.hpp"
+ Include dependency graph for Tetrahedron_test.cpp:

Go to the source code of this file.

Functions

 SCENARIO ("Construct a foliated tetrahedron in a foliated triangulation" *doctest::test_suite("tetrahedron"))
 
 SCENARIO ("Construct a tetrahedron in a Delaunay triangulation" *doctest::test_suite("tetrahedron"))
 
 SCENARIO ("Find distances between points of the tetrahedron" *doctest::test_suite("tetrahedron"))
 

Variables

static auto constexpr RADIUS_2 = 2.0 * std::numbers::inv_sqrt3_v<double>
 

Detailed Description

Tests for 3D triangulated and foliated tetrahedrons.

Author
Adam Getchell

Tests that 3D triangulated and foliated tetrahedrons are constructed correctly.

Definition in file Tetrahedron_test.cpp.

Function Documentation

◆ SCENARIO() [1/3]

SCENARIO ( "Construct a foliated tetrahedron in a foliated triangulation" *  doctest::test_suite"tetrahedron")

Definition at line 172 of file Tetrahedron_test.cpp.

◆ SCENARIO() [2/3]

SCENARIO ( "Construct a tetrahedron in a Delaunay triangulation" *  doctest::test_suite"tetrahedron")

Definition at line 24 of file Tetrahedron_test.cpp.

◆ SCENARIO() [3/3]

SCENARIO ( "Find distances between points of the tetrahedron" *  doctest::test_suite"tetrahedron")

Definition at line 85 of file Tetrahedron_test.cpp.

Variable Documentation

◆ RADIUS_2

auto constexpr RADIUS_2 = 2.0 * std::numbers::inv_sqrt3_v<double>
inlinestaticconstexpr

Definition at line 22 of file Tetrahedron_test.cpp.