Compadre 1.5.5
Loading...
Searching...
No Matches
Macros | Functions
Compadre_UnitTests.cpp File Reference
#include <gtest/gtest.h>
#include <Compadre_KokkosParser.hpp>
#include "unittests/test_XYZ.hpp"
#include "unittests/test_NeighborLists.hpp"
#include "unittests/test_PointCloudSearch.hpp"
#include "unittests/test_LinearAlgebra.hpp"
#include "unittests/test_Targets.hpp"

Go to the source code of this file.

Macros

#define ASSERT_NO_DEATH(statement)   ASSERT_EXIT({{ statement } ::exit(EXIT_SUCCESS); }, ::testing::ExitedWithCode(0), "")
 

Functions

 TEST (KokkosInitialize, NoArgsGiven)
 
 TEST (KokkosInitialize, NoCommandLineArgsGiven)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ ASSERT_NO_DEATH

#define ASSERT_NO_DEATH ( statement)    ASSERT_EXIT({{ statement } ::exit(EXIT_SUCCESS); }, ::testing::ExitedWithCode(0), "")

Definition at line 12 of file Compadre_UnitTests.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 35 of file Compadre_UnitTests.cpp.

◆ TEST() [1/2]

TEST ( KokkosInitialize ,
NoArgsGiven  )

Definition at line 18 of file Compadre_UnitTests.cpp.

◆ TEST() [2/2]

TEST ( KokkosInitialize ,
NoCommandLineArgsGiven  )

Definition at line 25 of file Compadre_UnitTests.cpp.