Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("find borders from left", async function () {
const border = await findBorder(world, {
"direction": new Vec3(0, 1, 0),
"line": left
},direction);
assert.deepEqual(border, expectedBorder)
});
it("find borders from right", async function () {
it("find borders from bottom", async function () {
const border = await findBorder(world, {
"direction": direction,
"line": bottom
}, new Vec3(0, 1, 0));
assert.deepEqual(border, expectedBorder)
});
it("find borders from right", async function () {
const border = await findBorder(world, {
"direction": new Vec3(0, 1, 0),
"line": right
}, direction.scaled(-1));
assert.deepEqual(border, expectedBorder)
});
});