cppbase icon indicating copy to clipboard operation
cppbase copied to clipboard

Implement a way to test assert statement in computeFactorial function

Open kartikkumar opened this issue 3 years ago • 0 comments

Catch2 currently doesn't support testing assert statements.

Some resources:

  • https://stackoverflow.com/questions/31229718/test-a-function-using-assert-c
  • https://stackoverflow.com/questions/3756422/how-to-catch-an-assert-with-google-test

kartikkumar avatar Jul 15 '22 14:07 kartikkumar