CYCAMORE
Loading...
Searching...
No Matches
build/cycamore/storage_tests.h
Go to the documentation of this file.
1#ifndef STORAGE_TESTS_H_
2#define STORAGE_TESTS_H_
3
4#include <gtest/gtest.h>
5
6#include "storage.h"
7
8#include "context.h"
9#include "facility_tests.h"
10#include "agent_tests.h"
11
12namespace cycamore {
13// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14class StorageTest : public ::testing::Test {
15 protected:
16 cyclus::TestContext tc_;
18
19 virtual void SetUp();
20 virtual void TearDown();
21 void InitParameters();
22 void SetUpStorage();
25 cyclus::Material::Ptr mat);
26 void TestBuffers(cycamore::Storage* fac, double inv, double
27
28 proc, double ready, double stocks);
29 void TestStocks(cycamore::Storage* fac, cyclus::CompMap v);
30 void TestReadyTime(cycamore::Storage* fac, int t);
31 void TestCurrentCap(cycamore::Storage* fac, double inv);
32
33 std::vector<std::string> in_c1, out_c1;
34 std::string in_r1;
35
39 std::string package;
40};
41} // namespace cycamore
42#endif // STORAGE_TESTS_H_
43
std::vector< std::string > out_c1
void TestInitState(cycamore::Storage *fac)
void TestBuffers(cycamore::Storage *fac, double inv, double proc, double ready, double stocks)
void TestReadyTime(cycamore::Storage *fac, int t)
std::vector< std::string > in_c1
void TestStocks(cycamore::Storage *fac, cyclus::CompMap v)
void TestCurrentCap(cycamore::Storage *fac, double inv)
void TestAddMat(cycamore::Storage *fac, cyclus::Material::Ptr mat)
This Facility is intended to hold materials for a user specified amount of time in order to model a s...