G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsSpectra_test.cpp File Reference

Provides unittests for the gsSpectra class. More...

+ Include dependency graph for gsSpectra_test.cpp:

Functions

 SUITE (gsSpectra_test)
 

Detailed Description

Provides unittests for the gsSpectra class.

== BASIC REFERENCE ==

  • TEST(NAME_OF_TEST) { body_of_test }
  • TEST_FIXTURE(NAME_OF_FIXTURE,NAME_OF_TEST){ body_of_test }

== CHECK MACRO REFERENCE ==

  • CHECK(EXPR);
  • CHECK_EQUAL(EXPECTED,ACTUAL);
  • CHECK_CLOSE(EXPECTED,ACTUAL,EPSILON);
  • CHECK_ARRAY_EQUAL(EXPECTED,ACTUAL,LENGTH);
  • CHECK_ARRAY_CLOSE(EXPECTED,ACTUAL,LENGTH,EPSILON);
  • CHECK_ARRAY2D_EQUAL(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT);
  • CHECK_ARRAY2D_CLOSE(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT,EPSILON);
  • CHECK_THROW(EXPR,EXCEPTION_TYPE_EXPECTED);

== TIME CONSTRAINTS ==

  • UNITTEST_TIME_CONSTRAINT(TIME_IN_MILLISECONDS);
  • UNITTEST_TIME_CONSTRAINT_EXEMPT();

== MORE INFO == See: https://unittest-cpp.github.io/

Author(s): H.M.Verhelst (2019 - ..., TU Delft, 2023 - ... UniFi)

Function Documentation

SUITE ( gsSpectra_test  )

Forward declarations

Auxiliary functions