diff --git a/BlueprintUICommonControls/Tests/Sources/BoxTests.swift b/BlueprintUICommonControls/Tests/Sources/BoxTests.swift index 6c41d54ad..8708cae06 100644 --- a/BlueprintUICommonControls/Tests/Sources/BoxTests.swift +++ b/BlueprintUICommonControls/Tests/Sources/BoxTests.swift @@ -22,21 +22,21 @@ class BoxTests: XCTestCase { do { var box = Box() box.backgroundColor = .blue - box.cornerStyle = .rounded(radius: 10.0) + box.cornerStyle = .semicircle compareSnapshot( of: box, - size: CGSize(width: 100, height: 100), - identifier: "rounded") + size: CGSize(width: 200, height: 100), + identifier: "semicircle") } do { var box = Box() box.backgroundColor = .blue - box.cornerStyle = .semicircle + box.cornerStyle = .rounded(radius: 10.0) compareSnapshot( of: box, - size: CGSize(width: 200, height: 100), - identifier: "semicircle") + size: CGSize(width: 100, height: 100), + identifier: "rounded") } } diff --git a/BlueprintUICommonControls/Tests/Sources/ReferenceImages/BoxTests/test_cornerRadius_.png b/BlueprintUICommonControls/Tests/Sources/ReferenceImages/BoxTests/test_cornerRadius_.png new file mode 100644 index 000000000..3013312ab Binary files /dev/null and b/BlueprintUICommonControls/Tests/Sources/ReferenceImages/BoxTests/test_cornerRadius_.png differ