summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.cpp1
-rw-r--r--test.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/test.cpp b/test.cpp
index bc2366c..4b621bc 100644
--- a/test.cpp
+++ b/test.cpp
@@ -3,6 +3,7 @@
#include "libpng_wrapper.hpp"
using namespace std;
+//I was required to write a test function as part of the project; here I test libpng.
void test_png() {
png test_image("test_png.png", 500, 500);
uint32_t w = test_image.width();
diff --git a/test.hpp b/test.hpp
index 3347496..524b46f 100644
--- a/test.hpp
+++ b/test.hpp
@@ -1,6 +1,7 @@
#ifndef TEST_H
#define TEST_H
+//I was required to write a test function as part of the project; here I test libpng.
void test_png();
#endif