message: use custom main in test
diff: * See the License for the specific language governing permissions and
  * limitations under the License.
  */
  -#define CATCH_CONFIG_MAIN
  +// #define CATCH_CONFIG_MAIN
  +#define CATCH_CONFIG_RUNNER
  #include <catch2/catch.hpp>
  +
  +int main(int argc, char const* argv[])
  +{
  + int const result = Catch::Session().run(argc, argv);
  +
  + // avoid closing extern console to close on VScode/windows
  + // system("pause");
  +
  + return result;
  +}
  