Wire Sysio Wire Sysion 1.0.0
|
#include <catch2/catch.hpp>
Go to the source code of this file.
Functions | |
int | Factorial (int number) |
TEST_CASE ("2: Factorial of 0 is 1 (fail)", "[multi-file:2]") | |
TEST_CASE ("2: Factorials of 1 and higher are computed (pass)", "[multi-file:2]") | |
int Factorial | ( | int | number | ) |
Definition at line 7 of file 020-TestCase-2.cpp.
TEST_CASE | ( | "2: Factorial of 0 is 1 (fail)" | , |
"" | [multi-file:2] ) |
Definition at line 12 of file 020-TestCase-2.cpp.
TEST_CASE | ( | "2: Factorials of 1 and higher are computed (pass)" | , |
"" | [multi-file:2] ) |
Definition at line 16 of file 020-TestCase-2.cpp.