-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed many bugs with reading. Added testing suite and test driver.
- Loading branch information
Showing
114 changed files
with
563 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Import of test PNGs from libpng to test tPNG's reading abilities. | ||
|
||
|
||
|
||
|
||
Here, each PNG file in this directory has an RGBA data equivalent within the | ||
"rawdata" directory that matches. The test (driver.c) will open | ||
every PNG and compare the raw RGBA values against the raw data | ||
equivalent. | ||
|
||
If A test fails, the program will print "TEST FAILED" with more information | ||
to stdout and will exit. If all tests pass, the program returns | ||
"The test is complete.\n". | ||
|
||
Every major commit should be checked with these tests, and | ||
further tests should be added using the existing patterns here. | ||
|
||
|
||
|
||
|
||
To run the tests: | ||
|
||
- Run make in this directory. | ||
- Run the resultant test.exe | ||
|
||
|
||
Alternatively, driver.c and tpng.c compiled together | ||
with your compiler will be sufficient to produce the | ||
text program in the case that GCC and GNUmake isn't available. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.