Skip to content

Commit

Permalink
Update anchor test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasf committed Mar 19, 2024
1 parent e22b098 commit 9a0bb6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/Tests/Bounds.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ final class BoundsTests: XCTestCase {
Box([2,2,1])
.aligned(at: .centerXY)
.definingAnchor(top, at: .top)
side.define()
.rotated(y: -90°)
.translated(x: -4, z: -2)
}
.definingAnchor(side, at: .left, offset: [0, 0, -2], pointing: .left)
.anchored(to: top)
.anchored(to: side)
.assertBoundsEqual(min: [-2, -3, -8], max: [3, 3, 0])
Expand Down

0 comments on commit 9a0bb6a

Please sign in to comment.