Skip to content

Commit 34f0f5f

Browse files
committed
Add some tests case
1 parent c6a15ee commit 34f0f5f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Tests/StackKitTests/StackKitTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,10 @@ final class StackKitTests: XCTestCase {
3838
container.sizeToFit()
3939

4040
XCTAssertEqual(vcontainer.center.x, container.center.x)
41+
42+
container.stack.height(nil)
43+
vcontainer.stack.height(50)
44+
container.sizeToFit()
45+
XCTAssertEqual(vcontainer.center.x, container.center.x)
4146
}
4247
}

0 commit comments

Comments
 (0)