mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-20 05:33:38 +08:00
At this point, there is only a single test for interpreter basics. Apart from embedding itself, having a C++ test framework will also benefit the C++-side features by allowing them to be tested directly.
6 lines
186 B
C++
6 lines
186 B
C++
// Catch provides the `int main()` function here. This is a standalone
|
|
// translation unit to avoid recompiling it for every test change.
|
|
|
|
#define CATCH_CONFIG_MAIN
|
|
#include <catch.hpp>
|