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

Tests on utility functions. More...

#include <doctest/doctest.h>
#include <fmt/ranges.h>
#include <filesystem>
#include <Manifold.hpp>
+ Include dependency graph for Utilities_test.cpp:

Go to the source code of this file.

Functions

 GIVEN ("A container of ints")
 
 GIVEN ("A Delaunay_t<3> triangulation.")
 
 GIVEN ("A PCG die roller")
 
 GIVEN ("A probability generator")
 
 GIVEN ("A test range of integers")
 
 GIVEN ("A test range of timeslices")
 
 GIVEN ("Simplices and timeslices for various foliations")
 
 GIVEN ("The range between 0 and 1, inclusive")
 
 SCENARIO ("Exact number (Gmpzf) conversion" *doctest::test_suite("utilities"))
 
 SCENARIO ("Reading and writing Delaunay triangulations to files" *doctest::test_suite("utilities"))
 
 SCENARIO ("Various string/stream/time utilities" *doctest::test_suite("utilities"))
 

Detailed Description

Tests on utility functions.

Author
Adam Getchell

Tests for random, conversion, and datetime functions.

Definition in file Utilities_test.cpp.

Function Documentation

◆ GIVEN() [1/8]

GIVEN ( "A container of ints"  )

Definition at line 179 of file Utilities_test.cpp.

◆ GIVEN() [2/8]

GIVEN ( "A Delaunay_t<3> triangulation."  )

Definition at line 97 of file Utilities_test.cpp.

◆ GIVEN() [3/8]

GIVEN ( "A PCG die roller"  )

Definition at line 170 of file Utilities_test.cpp.

◆ GIVEN() [4/8]

GIVEN ( "A probability generator"  )

Definition at line 272 of file Utilities_test.cpp.

◆ GIVEN() [5/8]

GIVEN ( "A test range of integers"  )

Definition at line 196 of file Utilities_test.cpp.

◆ GIVEN() [6/8]

GIVEN ( "A test range of timeslices"  )

Definition at line 227 of file Utilities_test.cpp.

◆ GIVEN() [7/8]

GIVEN ( "Simplices and timeslices for various foliations"  )

Definition at line 300 of file Utilities_test.cpp.

◆ GIVEN() [8/8]

GIVEN ( "The range between 0 and  1,
inclusive"   
)

Definition at line 258 of file Utilities_test.cpp.

◆ SCENARIO() [1/3]

SCENARIO ( "Exact number   Gmpzf) conversion" *doctest::test_suite("utilities")

Definition at line 348 of file Utilities_test.cpp.

◆ SCENARIO() [2/3]

SCENARIO ( "Reading and writing Delaunay triangulations to files" *  doctest::test_suite"utilities")

Definition at line 114 of file Utilities_test.cpp.

◆ SCENARIO() [3/3]

SCENARIO ( "Various string/stream/time utilities" *  doctest::test_suite"utilities")

Definition at line 21 of file Utilities_test.cpp.