Skip to content

Commit ebddeea

Browse files
committed
chore: update test
1 parent 543fc41 commit ebddeea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

model/character.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { assertEquals } from "@std/assert"
33

44
Deno.test("Character", async (t) => {
55
await t.step("physicalGridKey", () => {
6-
const mc = new MainCharacter(100, 100, 1, "main/")
6+
const mc = new MainCharacter(100, 100, "main/", "main", "down")
77
assertEquals(mc.physicalGridKey, "100.100")
88

9-
const npc = new RandomWalkNPC(200, 200, 1, "npc/")
9+
const npc = new RandomWalkNPC(200, 200, "npc/", "npc", "left")
1010
assertEquals(npc.physicalGridKey, "200.200")
1111
})
1212
})

0 commit comments

Comments
 (0)