1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 15:16:38 +00:00

updated node packages

This commit is contained in:
Steven Hugg
2019-02-15 12:33:13 -05:00
parent 1d3c9b195c
commit 6919e1eaf6
5 changed files with 182 additions and 153 deletions
+8 -4
View File
@@ -113,9 +113,13 @@ describe('LZG', function() {
describe('string functions', function() {
it('Should detect binary', function() {
assert.ok(!util.isProbablyBinary([32,32,10,13,9,32,32,10,13]));
assert.ok(util.isProbablyBinary([32,32,0x80]));
assert.ok(!util.isProbablyBinary([32,32,0xc1,0x81,32,32,10,13]));
assert.ok(util.isProbablyBinary(NES_CONIO_ROM_LZG));
assert.ok(!util.isProbablyBinary(null, [32,32,10,13,9,32,32,10,13]));
assert.ok(util.isProbablyBinary(null, [32,32,0x80]));
assert.ok(!util.isProbablyBinary(null, [32,32,0xc1,0x81,32,32,10,13]));
assert.ok(util.isProbablyBinary(null, NES_CONIO_ROM_LZG));
assert.ok(util.isProbablyBinary('test.bin'));
assert.ok(util.isProbablyBinary('test.chr'));
assert.ok(!util.isProbablyBinary('test.txt'));
assert.ok(!util.isProbablyBinary('test.dat'));
});
});