Refactor: Implement SmartCube renderer, improve UI styling, and fix gaps

This commit is contained in:
2026-02-22 04:35:59 +00:00
parent 57abfd6b80
commit b5ddc21662
4168 changed files with 763782 additions and 1008 deletions

19
node_modules/@gkucmierz/utils/spec/matrix.spec.mjs generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import {
matrixAsArray,
} from '../src/matrix.mjs';
describe('matrix', () => {
it('matrixAsArray', () => {
const m = [
[1, 2],
[3, 4],
];
const arr = matrixAsArray(m);
expect(arr.length).toBe(4);
expect(arr[0]).toBe(1);
expect(arr[1]).toBe(2);
expect(arr[2]).toBe(3);
expect(arr[3]).toBe(4);
});
});