We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 064f7ef commit 757bbeeCopy full SHA for 757bbee
src/util/trees/avl/__tests__/AvlSet.spec.ts
@@ -41,7 +41,12 @@ test('can remove numbers from set', () => {
41
});
42
43
test('can store structs', () => {
44
- class Struct { constructor (public x: number, public y: number) {} }
+ class Struct {
45
+ constructor(
46
+ public x: number,
47
+ public y: number,
48
+ ) {}
49
+ }
50
const set = new AvlSet<Struct>((a, b) => {
51
const dx = a.x - b.x;
52
return dx === 0 ? a.y - b.y : dx;
0 commit comments