C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
MathTests Class Reference

The MathTests class tests functions provided by misc/math.h. More...

Inheritance diagram for MathTests:
[legend]
Collaboration diagram for MathTests:
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void testDigitsum ()
 
void testFactorial ()
 
void testPowerModulo ()
 
void testInverseModulo ()
 
void testOrderModulo ()
 

Detailed Description

The MathTests class tests functions provided by misc/math.h.

Definition at line 29 of file mathtests.cpp.

Member Function Documentation

◆ setUp()

void MathTests::setUp ( )
inline

Definition at line 39 of file mathtests.cpp.

◆ tearDown()

void MathTests::tearDown ( )
inline

Definition at line 42 of file mathtests.cpp.

◆ testDigitsum()

void MathTests::testDigitsum ( )

Definition at line 55 of file mathtests.cpp.

◆ testFactorial()

void MathTests::testFactorial ( )

Definition at line 62 of file mathtests.cpp.

◆ testInverseModulo()

void MathTests::testInverseModulo ( )

Definition at line 73 of file mathtests.cpp.

◆ testOrderModulo()

void MathTests::testOrderModulo ( )

Definition at line 79 of file mathtests.cpp.

◆ testPowerModulo()

void MathTests::testPowerModulo ( )

Definition at line 67 of file mathtests.cpp.


The documentation for this class was generated from the following file: