commodconverter
 All Classes Namespaces Files Functions Variables Macros
src/commodconverter_tests.h
Go to the documentation of this file.
1 #ifndef COMMODCONVERTER_TESTS_H_
2 #define COMMODCONVERTER_TESTS_H_
3 
4 #include <gtest/gtest.h>
5 
6 #include "commodconverter.h"
7 
8 #include "context.h"
9 #include "facility_tests.h"
10 #include "agent_tests.h"
11 
12 namespace commodconverter {
13 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14 class CommodConverterTest : public ::testing::Test {
15  protected:
16  cyclus::TestContext tc_;
17  CommodConverter* src_facility_;
18 
19  virtual void SetUp();
20  virtual void TearDown();
21  void InitParameters();
23  void SetUpCommodConverter();
24 
25  std::string in_c1, out_c1;
26  std::string in_r1, out_r1;
27 
28  int process_time;
29  double capacity, max_inv_size, cost;
30 };
31 } // namespace commodconverter
32 #endif // COMMODCONVERTER_TESTS_H_
33 
void TestInitState(commodconverter::CommodConverter *fac)
This Facility is intended to convert a resource from one commodity to another.