CYCAMORE
Loading...
Searching...
No Matches
src/sink_tests.h
Go to the documentation of this file.
1
#ifndef CYCAMORE_SRC_SINK_TESTS_H_
2
#define CYCAMORE_SRC_SINK_TESTS_H_
3
4
#include <gtest/gtest.h>
5
6
#include "
sink.h
"
7
8
#include "test_context.h"
9
10
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
11
class
SinkTest
:
public
::testing::Test {
12
protected
:
13
cyclus::TestContext
tc_
;
14
TestFacility*
trader
;
15
cycamore::Sink
*
src_facility
;
16
std::string
commod1_
,
commod2_
,
commod3_
;
17
double
capacity_
,
inv_
,
qty_
;
18
int
ncommods_
;
19
20
virtual
void
SetUp
();
21
virtual
void
TearDown
();
22
void
InitParameters
();
23
void
SetUpSink
();
24
};
25
26
#endif
// CYCAMORE_SRC_SINK_TESTS_H_
SinkTest
Definition
build/cycamore/sink_tests.h:11
SinkTest::commod2_
std::string commod2_
Definition
build/cycamore/sink_tests.h:16
SinkTest::commod3_
std::string commod3_
Definition
build/cycamore/sink_tests.h:16
SinkTest::InitParameters
void InitParameters()
SinkTest::tc_
cyclus::TestContext tc_
Definition
build/cycamore/sink_tests.h:13
SinkTest::SetUpSink
void SetUpSink()
SinkTest::src_facility
cycamore::Sink * src_facility
Definition
build/cycamore/sink_tests.h:15
SinkTest::TearDown
virtual void TearDown()
SinkTest::ncommods_
int ncommods_
Definition
build/cycamore/sink_tests.h:18
SinkTest::trader
TestFacility * trader
Definition
build/cycamore/sink_tests.h:14
SinkTest::capacity_
double capacity_
Definition
build/cycamore/sink_tests.h:17
SinkTest::commod1_
std::string commod1_
Definition
build/cycamore/sink_tests.h:16
SinkTest::qty_
double qty_
Definition
build/cycamore/sink_tests.h:17
SinkTest::inv_
double inv_
Definition
build/cycamore/sink_tests.h:17
SinkTest::SetUp
virtual void SetUp()
cycamore::Sink
This facility acts as a sink of materials and products with a fixed throughput (per time step) capaci...
Definition
build/cycamore/sink.h:27
sink.h
src
sink_tests.h
Generated by
1.10.0