simple.cxx File Reference
#include "catch2/catch.hpp"
Include dependency graph for simple.cxx:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_MAIN
 

Functions

unsigned int Factorial (unsigned int number)
 
 TEST_CASE ("Factorials are computed", "[factorial]")
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 2 of file simple.cxx.

Function Documentation

◆ Factorial()

unsigned int Factorial ( unsigned int  number)

Definition at line 4 of file simple.cxx.

◆ TEST_CASE()

TEST_CASE ( "Factorials are computed"  ,
""  [factorial] 
)

Definition at line 8 of file simple.cxx.