summaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test.h b/test/test.h
index 69ed85be..db33067c 100644
--- a/test/test.h
+++ b/test/test.h
@@ -29,3 +29,14 @@ extern boost::filesystem::path xsd_test;
extern void check_xml (xmlpp::Element* ref, xmlpp::Element* test, std::list<std::string> ignore);
extern void check_xml (std::string ref, std::string test, std::list<std::string> ignore);
extern void check_file (boost::filesystem::path ref, boost::filesystem::path check);
+
+/** Creating an object of this class will make asdcplib's random number generation
+ * (more) predictable.
+ */
+class RNGFixer
+{
+public:
+ RNGFixer ();
+ ~RNGFixer ();
+};
+