File: catch2-test-main.cpp

package info (click to toggle)
massxpert2 8.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 62,584 kB
  • sloc: cpp: 35,217; javascript: 22,140; xml: 16,540; makefile: 89; sh: 81
file content (11 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do
                          // this in one cpp file

#define CATCH_CONFIG_ENABLE_BENCHMARKING

#ifdef CATCH2_MAJOR_VERSION_2
#include <catch2/catch.hpp>
#elif CATCH2_MAJOR_VERSION_3
#include <catch2/catch_all.hpp>
using namespace Catch;
#endif