QuISP
Loading...
Searching...
No Matches
TestUtils.h
Go to the documentation of this file.
1#pragma once
2
3#include "AccessPrivate.h"
4#include "Gate.h"
5#include "ModuleType.h"
6#include "QNode.h"
7#include "Simulation.h"
8#include "StaticEnv.h"
10#include "TestUtilFunctions.h"
18
19namespace quisp_test {
20
21// use these functions and classes in your unit test.
22using gate::TestGate;
23using mock_backends::MockBackendQubit;
24using mock_backends::MockQuantumBackend;
25using mock_modules::hardware_monitor::MockHardwareMonitor;
26using mock_modules::qnic_store::MockQNicStore;
27using mock_modules::realtime_controller::MockRealTimeController;
28using mock_modules::routing_daemon::MockRoutingDaemon;
29using mock_modules::stationary_qubit::MockQubit;
30using module_type::TestModuleType;
31using qnode::TestQNode;
32using strategy::QNicSpec;
33using strategy::TestComponentProviderStrategy;
42} // namespace quisp_test
void setParStr(cModule *module, const char *name, const char *val)
Definition TestUtilFunctions.cc:37
cEnvir * createStaticEnv()
Definition TestUtilFunctions.cc:85
TestSimulation * getTestSimulation()
Definition TestUtilFunctions.cc:79
TestSimulation * prepareSimulation()
Definition TestUtilFunctions.cc:73
void setParDouble(cModule *module, const char *name, const double val)
Definition TestUtilFunctions.cc:25
quisp_test::rng::TestRNG * useTestRNG()
Definition TestUtilFunctions.cc:86
void setParBool(cModule *module, const char *name, const bool val)
Definition TestUtilFunctions.cc:49
void setParInt(cModule *module, const char *name, const int val)
Definition TestUtilFunctions.cc:13
Definition test.h:15