explodorama / files / test / helpers.ts
helpers.ts
| 1 | import type { Vec } from '../src/sim/types' |
| 2 | |
| 3 | export { board } from '../src/sim/picture' |
| 4 | |
| 5 | export const v = (x: number, y: number): Vec => ({ x, y }) |
explodorama / files / test / helpers.ts
| 1 | import type { Vec } from '../src/sim/types' |
| 2 | |
| 3 | export { board } from '../src/sim/picture' |
| 4 | |
| 5 | export const v = (x: number, y: number): Vec => ({ x, y }) |