summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp1
1 files changed, 1 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();