🚀 imrpove algorithm
This commit is contained in:
@@ -4,7 +4,7 @@ import { realistic as grid } from "@snk/types/__fixtures__/grid";
|
||||
import { createGif } from "..";
|
||||
|
||||
let snake = createSnakeFromCells(
|
||||
Array.from({ length: 6 }, (_, i) => ({ x: i, y: -1 }))
|
||||
Array.from({ length: 4 }, (_, i) => ({ x: i, y: -1 }))
|
||||
);
|
||||
|
||||
const chain = [snake];
|
||||
|
||||
@@ -33,7 +33,6 @@ for (const key of [
|
||||
"corner",
|
||||
"small",
|
||||
"smallPacked",
|
||||
"enclave",
|
||||
] as const)
|
||||
it(`should generate ${key} gif`, async () => {
|
||||
const grid = grids[key];
|
||||
|
||||
Reference in New Issue
Block a user