Adding a test of uncompressed files just to make sure it actually works!

This commit is contained in:
Robert Greene 2008-06-27 19:14:23 +00:00
parent f11ba01ee2
commit fe1bfde65e
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,13 @@ public class NufxLzwTest extends TestCaseHelper {
check("PRODOS.MSTR-LZW2.SHK", "UTIL.2", "UTIL.2.bin");
}
public void testUncompressedFiles() throws IOException {
check("UNCOMPRESSED.SHK", "APPLE.II-LZW1.SHK", "APPLE.II-LZW1.SHK");
check("UNCOMPRESSED.SHK", "APPLE.II-LZW2.SHK", "APPLE.II-LZW2.SHK");
check("UNCOMPRESSED.SHK", "PRODOS.MSTR-LZW1.SHK", "PRODOS.MSTR-LZW1.SHK");
check("UNCOMPRESSED.SHK", "PRODOS.MSTR-LZW2.SHK", "PRODOS.MSTR-LZW2.SHK");
}
/**
* Given details about an archive file and it's expected contents, locate that
* file and then check it against the contents.

Binary file not shown.