From 8aa2213390e01996e3f9682abfd5910c698df0e2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 12 Mar 2022 14:36:31 +0300 Subject: feat: add initial Board class --- src/Cell/Cell.test.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Cell/Cell.test.ts') diff --git a/src/Cell/Cell.test.ts b/src/Cell/Cell.test.ts index 0931130..be6f475 100644 --- a/src/Cell/Cell.test.ts +++ b/src/Cell/Cell.test.ts @@ -41,6 +41,9 @@ describe('Cell', () => { const attachTo = new Cell(Town, [Road, Town, Town, Road]) const cell = new Cell(Road, [Empty, Road, Road, Empty]) + cell.print(); + attachTo.print(); + const attachments = attachTo.getAttachments(cell); assert.strictEqual(attachments.length, 4); assert.deepStrictEqual(attachments[0], { side: 0, rotation: 0, cell, attachTo }); -- cgit v1.2.3