add "real" mapblock test
This commit is contained in:
parent
6e97ba4398
commit
1ad92fb638
@ -15,4 +15,12 @@ describe('mapblockparser', function() {
|
||||
assert.equal(mapblock.node_id_mapping["some:stuff"] >= 0, false);
|
||||
});
|
||||
});
|
||||
|
||||
it("does not crash", function(){
|
||||
const data = fs.readFileSync("./test/testdata/pandorabox1.bin");
|
||||
return mapblockparser.parse(data)
|
||||
.then(function(mapblock){
|
||||
console.log(mapblock);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
BIN
test/testdata/pandorabox1.bin
vendored
Normal file
BIN
test/testdata/pandorabox1.bin
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user