Skip to content
Make the player visible with a procedural 3D humanoid132be7c
JavaScript12 lines388 B
import test from "node:test";import assert from "node:assert/strict";import { stage } from "./stage.mjs";test("stage data is well formed", () => {  assert.equal(stage.pillars.length, 4);  assert.ok(stage.lights.length >= 2);  for (const b of [stage.floor, stage.backWall, ...stage.pillars]) {    assert.equal(b.center.length, 3);    assert.ok(b.size.every((n) => n > 0));  }});