Repository navigation
Commit b7be9b4
committed
refactor(ios): plot the quarter-turn test through the shared rect predicate
`SnapshotGeometrySpace.isPlottable` and `SnapshotGeometry.isPositiveFinite`
were the same five comparisons, written twice in one package, which is how
#2891 started: one question with two encodings that can drift apart.
`.null`, an inverted box, and an infinite box are refused identically by
both, so the coordinate-space table needs no new rows.1 parent 28f7cb8 commit b7be9b4
1 file changed
Lines changed: 5 additions & 9 deletions
File tree
- apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
| |||
169 | 165 | | |
170 | 166 | | |
171 | 167 | | |
172 | | - | |
173 | | - | |
| 168 | + | |
| 169 | + | |
174 | 170 | | |
175 | 171 | | |
176 | 172 | | |
| |||
0 commit comments