1#ifndef CYCAMORE_SRC_SOURCE_TESTS_H_
2#define CYCAMORE_SRC_SOURCE_TESTS_H_
5#include <gtest/gtest.h>
7#include <boost/shared_ptr.hpp>
9#include "agent_tests.h"
11#include "exchange_context.h"
12#include "facility_tests.h"
17class SourceTest :
public ::testing::Test {
19 cyclus::TestContext
tc;
24 cyclus::Composition::Ptr
recipe;
26 cyclus::TransportUnit::Ptr
tu;
45 boost::shared_ptr<cyclus::ExchangeContext<cyclus::Material> >
GetContext(
46 int nreqs, std::string commodity);
void outcommod(cycamore::Source *s, std::string commod)
void throughput(cycamore::Source *s, double val)
cyclus::TransportUnit::Ptr tu
void outrecipe(cycamore::Source *s, std::string recipe)
std::string outrecipe(cycamore::Source *s)
cyclus::Composition::Ptr recipe
boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext(int nreqs, std::string commodity)
std::string outcommod(cycamore::Source *s)
double throughput(cycamore::Source *s)
cycamore::Source * src_facility
cyclus::Package::Ptr package
This facility acts as a source of material with a fixed throughput (per time step) capacity and a lif...