Skip to content
Snippets Groups Projects
Select Git revision
  • fb552b6bb8525ba9dfa8918bb8f191d6402d6cb8
  • develop default protected
  • feature/variational-hydro
  • origin/stage/bouguettaia
  • feature/gmsh-reader
  • feature/reconstruction
  • save_clemence
  • feature/kinetic-schemes
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

Vector.hpp

Blame
  • test_PastisAssert.cpp 511 B
    #include <catch.hpp>
    
    #include <PastisAssert.hpp>
    #include <string>
    
    TEST_CASE("PastisAssert", "[assert]") {
      SECTION("checking for assert error") {
        const std::string filename = "filename";
        const int line = 10;
        const std::string function = "function";
        const std::string message = "message";
    
        AssertError assert_error(filename, line, function, message);
    
        REQUIRE(Catch::Detail::stringify(assert_error) == "\n*** Assertion error ***\n at filename:10\n in function\n*** message\n");
      }
    }