Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ BlocSerializationBackgroundTests >> testRadailGradient1 [

self test: origin on: [ :element |
self assert: element background isTransparent equals: false.
self assert: element background paint center equals: 1 @ 5.
self assert: element background paint radius equals: 10.
self assert: element background paint outerCenter equals: 1 @ 5.
self assert: element background paint outerRadius equals: 10.
self assert: element background paint stops size equals: 2.
self
assert: (element background paint stops at: 1)
Expand All @@ -185,7 +185,7 @@ BlocSerializationBackgroundTests >> testRadialGradient2 [

| origin |
origin := BlElement new background: (BlRadialGradientPaint new
stops: {
stops: {
(0 -> Color red).
(0.1 -> Color blue).
(0.2 -> Color green).
Expand All @@ -197,8 +197,8 @@ BlocSerializationBackgroundTests >> testRadialGradient2 [

self test: origin on: [ :element |
self assert: element background isTransparent equals: false.
self assert: element background paint center equals: 1 @ 5.
self assert: element background paint radius equals: 10.
self assert: element background paint outerCenter equals: 1 @ 5.
self assert: element background paint outerRadius equals: 10.
self assert: element background paint stops size equals: 5.
self
assert: (element background paint stops at: 1)
Expand Down