added test to validate getFilePath

This commit is contained in:
Andy Gup 2014-05-23 13:48:36 -06:00
parent acc456459a
commit a96170673e

View File

@ -165,4 +165,10 @@ describe("TPKLayer module", function(){
expect(hex).toBe("0010");
done();
})
async.it("Validate getCacheFilePath", function(done){
var path = tpkLayer._getCacheFilePath("test",0,50,50);
expect(path).toBe( "test/L00/R0032C0032");
done();
})
})