mirror of
https://github.com/AppleCommander/ShrinkItArchive.git
synced 2024-06-01 17:41:33 +00:00
Adding a test of uncompressed files just to make sure it actually works!
This commit is contained in:
parent
f11ba01ee2
commit
fe1bfde65e
|
@ -36,6 +36,13 @@ public class NufxLzwTest extends TestCaseHelper {
|
||||||
check("PRODOS.MSTR-LZW2.SHK", "UTIL.2", "UTIL.2.bin");
|
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
|
* Given details about an archive file and it's expected contents, locate that
|
||||||
* file and then check it against the contents.
|
* file and then check it against the contents.
|
||||||
|
|
BIN
test_src/com/webcodepro/shrinkit/io/UNCOMPRESSED.SHK
Normal file
BIN
test_src/com/webcodepro/shrinkit/io/UNCOMPRESSED.SHK
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user