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

Tests for wraparound grids. More...

#include <doctest/doctest.h>
#include "Torus_d.hpp"
+ Include dependency graph for Torus_test.cpp:

Go to the source code of this file.

Functions

 GIVEN ("A 2-torus")
 
 GIVEN ("A 3-torus")
 
 GIVEN ("A constructed 2-torus")
 
points reserve (NUMBER_OF_POINTS)
 

Variables

std::vector< Point > points
 

Detailed Description

Tests for wraparound grids.

Causal Dynamical Triangulations in C++ using CGAL

Copyright © 2017 Adam Getchell

Tests that 2-tori and 3-tori are correctly constructed in 3D and 4D.

Author
Adam Getchell

Definition in file Torus_test.cpp.

Function Documentation

◆ GIVEN() [1/3]

GIVEN ( "A 2-torus"  )

Definition at line 20 of file Torus_test.cpp.

◆ GIVEN() [2/3]

GIVEN ( "A 3-torus"  )

Definition at line 45 of file Torus_test.cpp.

◆ GIVEN() [3/3]

GIVEN ( "A constructed 2-torus"  )

Definition at line 31 of file Torus_test.cpp.

Variable Documentation

◆ points

std::vector<Point> points
Initial value:
{
std::size_t constexpr NUMBER_OF_POINTS = 250

Definition at line 18 of file Torus_test.cpp.