diff --git a/Tests/LayoutTests/LayoutItemTests.swift b/Tests/LayoutTests/LayoutItemTests.swift index cc94c4a9..bfc6a82d 100644 --- a/Tests/LayoutTests/LayoutItemTests.swift +++ b/Tests/LayoutTests/LayoutItemTests.swift @@ -767,9 +767,15 @@ final class LayoutItemTests: XCTestCase { func testToSafeAreaWithTopLeadingBottomTrailingPriority() { assertLayout { view in view.layout { + + // To Safe Area with Top, Leading, Bottom, Trailing, and Default Priority + pinkView .toSafeArea(top: 10, leading: 20, bottom: 30, trailing: 40, priority: .high) .toSafeArea(top: 40, leading: 30, bottom: 20, trailing: 10) + + // To Safe Area with Top, Leading, Bottom, Trailing, and Priority + blueView .toSafeArea(top: 10, leading: 20, bottom: 30, trailing: 40, priority: .low) .toSafeArea(top: 50, leading: 40, bottom: 30, trailing: 20, priority: .high)