Skip to content

Commit cc158b5

Browse files
authored
Update readme with screenshots (#140)
* Update readme with screenshots. * wip * wip
1 parent c3671e8 commit cc158b5

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.github/assert-no-difference.png

170 KB
Loading

.github/expect.png

176 KB
Loading

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,25 @@ For a real world use case we modified Apple's [Landmarks](https://developer.appl
253253

254254
### `expectNoDifference`
255255

256+
<table>
257+
<tr>
258+
<th>expectNoDifference</th>
259+
<th>#expect</th>
260+
</tr>
261+
<tr valign=top>
262+
<td width=50%>
263+
264+
![](.github/assert-no-difference.png)
265+
266+
</td>
267+
<td width=50%>
268+
269+
![](.github/expect.png)
270+
271+
</td>
272+
</tr>
273+
</table>
274+
256275
XCTest's `XCTAssertEqual` and Swift Testing's `#expect(_ == _)` both allow you to assert that two values are equal, and if they are not the test suite will fail with a message:
257276

258277
```swift

0 commit comments

Comments
 (0)