Skip to content

Commit

Permalink
test(plugin24): adjust segmentDistance test
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Mar 20, 2024
1 parent 87572e3 commit db5ff54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/test/kotlin/sc/plugin2024/BoardTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class BoardTest: FunSpec({

test("segmentDistance") {
board.segmentDistance(CubeCoordinates.ORIGIN, CubeCoordinates(0, 2)) shouldBe 0
board.segmentDistance(CubeCoordinates.ORIGIN, CubeCoordinates(1, 2)) shouldBe 1
board.segmentDistance(CubeCoordinates(-1, -2), CubeCoordinates(3, 2)) shouldBe 1
board.segmentDistance(CubeCoordinates.ORIGIN, CubeCoordinates(1, 2)) shouldBe -1
board.segmentDistance(CubeCoordinates(3, 2), CubeCoordinates(-1, -2)) shouldBe 1
}

test("find nearest field type") {
Expand Down

0 comments on commit db5ff54

Please sign in to comment.