CYCAMORE
Loading...
Searching...
No Matches
storage_tests.cc File Reference
#include <gtest/gtest.h>
#include "storage_tests.h"

Go to the source code of this file.

Namespaces

namespace  cycamore
 

Macros

#define CYCLUS_AGENT_TESTS_CONNECTED   cyclus_agent_tests_connected
 

Functions

int ConnectAgentTests ()
 
 INSTANTIATE_TEST_SUITE_P (StorageFac, AgentTests, ::testing::Values(&StorageConstructor))
 
 INSTANTIATE_TEST_SUITE_P (StorageFac, FacilityTests, ::testing::Values(&StorageConstructor))
 
cyclus::Agent * StorageConstructor (cyclus::Context *ctx)
 
 cycamore::TEST_F (StorageTest, ActiveDormant)
 
 cycamore::TEST_F (StorageTest, AddMats)
 
 cycamore::TEST_F (StorageTest, BehaviorTest)
 
 cycamore::TEST_F (StorageTest, CCap_Inventory)
 
 cycamore::TEST_F (StorageTest, ChangeCapacity)
 
 cycamore::TEST_F (StorageTest, ChangeProcessTime)
 
 cycamore::TEST_F (StorageTest, clone)
 
 cycamore::TEST_F (StorageTest, CurrentCapacity)
 
 cycamore::TEST_F (StorageTest, DifferentRecipe)
 
 cycamore::TEST_F (StorageTest, FixedBuyingSize)
 
 cycamore::TEST_F (StorageTest, IncorrectBuyPolSetupMinMax)
 
 cycamore::TEST_F (StorageTest, IncorrectBuyPolSetupNormal)
 
 cycamore::TEST_F (StorageTest, IncorrectBuyPolSetupUniform)
 
 cycamore::TEST_F (StorageTest, InitialState)
 
 cycamore::TEST_F (StorageTest, Longitude)
 
 cycamore::TEST_F (StorageTest, MultipleCommods)
 
 cycamore::TEST_F (StorageTest, MultipleSmallBatches)
 
 cycamore::TEST_F (StorageTest, NoConvert)
 
 cycamore::TEST_F (StorageTest, NoDormant)
 
 cycamore::TEST_F (StorageTest, NoProcessTime)
 
 cycamore::TEST_F (StorageTest, NormalActiveDormantBuyingSize)
 
 cycamore::TEST_F (StorageTest, NormalBuyingSize)
 
 cycamore::TEST_F (StorageTest, PackageExactly)
 
 cycamore::TEST_F (StorageTest, PackageMerge)
 
 cycamore::TEST_F (StorageTest, PackageSplitEqual)
 
 cycamore::TEST_F (StorageTest, PackageSplitFirst)
 
 cycamore::TEST_F (StorageTest, PositionInitialize)
 
 cycamore::TEST_F (StorageTest, Print)
 
 cycamore::TEST_F (StorageTest, RQ_Inventory)
 
 cycamore::TEST_F (StorageTest, RQ_Inventory_Invalid)
 
 cycamore::TEST_F (StorageTest, sS_Inventory)
 
 cycamore::TEST_F (StorageTest, Tick)
 
 cycamore::TEST_F (StorageTest, Tock)
 
 cycamore::TEST_F (StorageTest, TransportUnit)
 
 cycamore::TEST_F (StorageTest, TwoBatchSameTime)
 
 cycamore::TEST_F (StorageTest, UniformActiveNormalDormant)
 
 cycamore::TEST_F (StorageTest, UniformBuyingSize)
 

Variables

static int cyclus_agent_tests_connected = ConnectAgentTests()
 

Macro Definition Documentation

◆ CYCLUS_AGENT_TESTS_CONNECTED

#define CYCLUS_AGENT_TESTS_CONNECTED   cyclus_agent_tests_connected

Definition at line 1108 of file src/storage_tests.cc.

Function Documentation

◆ ConnectAgentTests()

int ConnectAgentTests ( )

◆ INSTANTIATE_TEST_SUITE_P() [1/2]

INSTANTIATE_TEST_SUITE_P ( StorageFac ,
AgentTests ,
::testing::Values & StorageConstructor )

◆ INSTANTIATE_TEST_SUITE_P() [2/2]

INSTANTIATE_TEST_SUITE_P ( StorageFac ,
FacilityTests ,
::testing::Values & StorageConstructor )

◆ StorageConstructor()

cyclus::Agent * StorageConstructor ( cyclus::Context * ctx)

Definition at line 1100 of file src/storage_tests.cc.

Variable Documentation

◆ cyclus_agent_tests_connected

int cyclus_agent_tests_connected = ConnectAgentTests()
static

Definition at line 1107 of file src/storage_tests.cc.