Initial import
[glmemperf] / test.cpp
diff --git a/test.cpp b/test.cpp
new file mode 100644 (file)
index 0000000..3904320
--- /dev/null
+++ b/test.cpp
@@ -0,0 +1,15 @@
+/**
+ * OpenGL ES 2.0 memory performance estimator
+ * Copyright (C) 2009 Nokia
+ *
+ * \author Sami Kyöstilä <sami.kyostila@nokia.com>
+ *
+ * Test base class
+ */
+#include "test.h"
+#include <stdexcept>
+
+void Test::fail(const std::string& reason)
+{
+    throw std::runtime_error(reason);
+}