Skip to content

Feat/data structures #14

Feat/data structures

Feat/data structures #14

Triggered via pull request March 6, 2025 06:06
Status Failure
Total duration 45s
Artifacts

pr-checks.yml

on: pull_request
🏗️ Scaffold env
7s
🏗️ Scaffold env
Lint 🔎
17s
Lint 🔎
Test 🧪
9s
Test 🧪
Compile ⚒️
17s
Compile ⚒️
Fit to window
Zoom out
Zoom in

Annotations

30 errors
lib/geometry/__tests__/collisions2d.test.ts > geometry/collisions > aabbIntersectsCircle2D > should return true if a circle and aabb intersect: lib/geometry/__tests__/collisions2d.test.ts#L173
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ lib/geometry/__tests__/collisions2d.test.ts:173:54
lib/geometry/__tests__/collisions2d.test.ts > geometry/collisions > circleContainsPoint2D > should detect points within a circle: lib/geometry/__tests__/collisions2d.test.ts#L206
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ lib/geometry/__tests__/collisions2d.test.ts:206:64
lib/geometry/__tests__/collisions2d.test.ts > geometry/collisions > circleIntersectsCircle2D > should detect if two circles intersect: lib/geometry/__tests__/collisions2d.test.ts#L250
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ lib/geometry/__tests__/collisions2d.test.ts:250:9
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should accept items that are within the trees bounds: lib/partitions/__tests__/quad-tree.test.ts#L6
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:6:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should remove items within the tree: lib/partitions/__tests__/quad-tree.test.ts#L10
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:10:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should not merge overlapping items: lib/partitions/__tests__/quad-tree.test.ts#L14
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:14:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should subdivide the tree once it reaches capacity: lib/partitions/__tests__/quad-tree.test.ts#L19
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:19:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should store items that span multiple boundaries in the highest common node: lib/partitions/__tests__/quad-tree.test.ts#L23
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:23:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should reset and empty the tree: lib/partitions/__tests__/quad-tree.test.ts#L27
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:27:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should not subdivide if there is no more space to: lib/partitions/__tests__/quad-tree.test.ts#L33
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:33:23
Lint 🔎: lib/geometry/aabb.ts#L12
Unsafe argument of type error typed assigned to a parameter of type `CtorArgs`
Lint 🔎: lib/geometry/aabb.ts#L16
Unsafe argument of type error typed assigned to a parameter of type `IVec3`
Lint 🔎: lib/geometry/aabb.ts#L17
Unsafe argument of type error typed assigned to a parameter of type `IVec3`
Lint 🔎: lib/geometry/collisions2d.ts#L25
Parameter name `a` must have one leading underscore(s)
Lint 🔎: lib/geometry/collisions2d.ts#L25
'a' is defined but never used. Allowed unused args must match /^_/u
Lint 🔎: lib/geometry/collisions2d.ts#L25
Parameter name `b` must have one leading underscore(s)
Lint 🔎: lib/geometry/collisions2d.ts#L25
'b' is defined but never used. Allowed unused args must match /^_/u
Lint 🔎: lib/geometry/collisions2d.ts#L30
Parameter name `a` must have one leading underscore(s)
Compile ⚒️: lib/geometry/aabb.ts#L12
Property 'size' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L16
Property 'position' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L17
Property 'position' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L66
Class 'AABB' incorrectly implements interface 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L80
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L84
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L103
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/collisions2d.ts#L25
'a' is declared but its value is never read.
Compile ⚒️: lib/geometry/collisions2d.ts#L25
'b' is declared but its value is never read.
Compile ⚒️: lib/geometry/collisions2d.ts#L30
'a' is declared but its value is never read.