/// \file    main.cpp

#include "HelloTriangleApplication.hpp"

#define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"

#include <cstdlib>
#include <ostream>
#include <stdexcept>

int main(int argc, char* argv[]) // NOLINT(bugprone-exception-escape)
{
  ////////////////////////////// Testing Stuff ////
  doctest::Context context;                      //
  context.setOption("no-breaks", true);          //
  context.setOption("no-run", true);             //
  context.applyCommandLine(argc, argv);          //
  auto test_results = context.run();             //
  if (context.shouldExit()) return test_results; //
  /////////////////////////////////////////////////

  HelloTriangleApplication app;

  try {
    app.run();
  }
  catch (const std::exception& e) {
    std::cerr << e.what() << "\n";
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS + test_results;
}

// vim:set et ts=2 sw=0 sts=0:


/// \file    main.cpp

#include "HelloTriangleApplication.hpp"

#define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"

#include <cstdlib>
#include <ostream>
#include <stdexcept>

int main(int argc, char* argv[])
{
  /////////////////////////////////////////////////////////////// Testing Stuff
  doctest::Context context;
  context.setOption("no-breaks", true);
  context.setOption("no-run", true);
  context.applyCommandLine(argc, argv);
  auto test_results = context.run();
  if (context.shouldExit()) return test_results;
  /////////////////////////////////////////////////////////////////////////////

  HelloTriangleApplication app;

  try {
    app.run();
  }
  catch (const std::exception& e) {
    std::cerr << e.what() << "\n";
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS + test_results;
}

// vim:set et ts=2 sw=0 sts=0:


Remove linter concerns which no longer trigger
Remove linter concerns which no longer trigger

Must be better compile options info after a compile, Idunno.
