aboutsummaryrefslogtreecommitdiff
path: root/src/Cell/Cell.test.ts
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-03-12 14:36:31 +0300
committereug-vs <eugene@eug-vs.xyz>2022-03-12 14:37:11 +0300
commit8aa2213390e01996e3f9682abfd5910c698df0e2 (patch)
tree86be278563cf285392c58e3938d002a5b288d7a5 /src/Cell/Cell.test.ts
parent2b6ba3f395cb62bef07f2cc12a00dab0c1cf2f04 (diff)
downloadcarcassonne-engine-ts-8aa2213390e01996e3f9682abfd5910c698df0e2.tar.gz
feat: add initial Board class
Diffstat (limited to 'src/Cell/Cell.test.ts')
-rw-r--r--src/Cell/Cell.test.ts3
1 files changed, 3 insertions, 0 deletions
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 });