netxsimdg
Loading...
Searching...
No Matches
ModelComponent_test.cpp File Reference
#include <doctest/doctest.h>
#include "include/ModelArrayRef.hpp"
#include "include/ModelComponent.hpp"
#include <stdexcept>
Include dependency graph for ModelComponent_test.cpp:

Go to the source code of this file.

Classes

class  Nextsim::HappyExcept
 
class  Nextsim::Module1
 
class  Nextsim::ModuleSupplyAndWait
 
class  Nextsim::ModuleRequestAndSupply
 
class  Nextsim::ModuleSemiShared
 
class  Nextsim::ModuleShared
 

Functions

 Nextsim::TEST_CASE ("Register a new module")
 
 Nextsim::TEST_SUITE_BEGIN ("ModelComponent")
 
 Nextsim::TEST_CASE ("Test array registration")
 
 Nextsim::TEST_CASE ("Shared and semi-protected arrays")
 
 Nextsim::TEST_SUITE_END ()
 

Detailed Description

Date
Feb 28, 2022
Author
Tim Spain timot.nosp@m.hy.s.nosp@m.pain@.nosp@m.ners.nosp@m.c.no

Definition in file ModelComponent_test.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

Definition at line 8 of file ModelComponent_test.cpp.

Function Documentation

◆ TEST_CASE() [1/3]

Nextsim::TEST_CASE ( "Register a new module" )

Definition at line 38 of file ModelComponent_test.cpp.

◆ TEST_CASE() [2/3]

Nextsim::TEST_CASE ( "Shared and semi-protected arrays" )

Definition at line 180 of file ModelComponent_test.cpp.

◆ TEST_CASE() [3/3]

Nextsim::TEST_CASE ( "Test array registration" )

Definition at line 112 of file ModelComponent_test.cpp.