summaryrefslogtreecommitdiffstats
path: root/tests/png.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-26 15:31:34 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-26 15:31:34 +0000
commit3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3 (patch)
treeddc8d088662a88101670150c491012427c85b5bf /tests/png.c
parentd56d643d412e06ff1e5239f8ebbd96f716b416bd (diff)
downloaddimension-3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3.tar.xz
Add lots of comments, and some code fixes discovered in the process.
Diffstat (limited to 'tests/png.c')
-rw-r--r--tests/png.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/png.c b/tests/png.c
index b80af04..3d46f38 100644
--- a/tests/png.c
+++ b/tests/png.c
@@ -18,6 +18,8 @@
* <http://www.gnu.org/licenses/>. *
*************************************************************************/
+/* Test PNG file I/O */
+
#include "tests.h"
#include <stdlib.h>
#include <stdio.h>
@@ -36,6 +38,7 @@ main() {
unsigned int i, j;
const unsigned int x = 333, y = 300;
+ /* Set the resilience low for tests */
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
canvas = dmnsn_new_canvas(3*x, y);