NachoSoto
b798114567
Refactor: extracted Collection.subscript(safe:) (#2779 )
...
This is useful to have in extensions and not just in this test.
2023-07-11 10:22:19 -07:00
NachoSoto
0cadce9fb3
Add Sequence<AdditiveArithmetic>.sum() ( #2694 )
2023-06-23 07:35:03 -07:00
Andy Boedo
bd7f819af6
replace iff with if and only if ( #2323 )
...
Follow up to https://github.com/RevenueCat/purchases-ios/pull/2300 ,
replace `iff` with the more explicit `if and only if`
2023-03-03 17:06:04 -03:00
NachoSoto
5c01aa37dd
Added Collection.onlyElement ( #1857 )
...
Simplifies the common pattern in tests:
```swift
expect(array).to(haveCount(1))
let element = try XCTUnwrap(array.first)
```
Into simply:
```swift
let element = try XCTUnwrap(array.onlyElement)
```
2022-08-22 16:00:39 -07:00
aboedo
f5697de730
renamed Purchases folder to Sources ( #1416 )
...
* renamed `Purchases` folder to `Sources`
* temporarily enabling installation test jobs
* re-disabling installation test jobs
2022-03-28 11:53:24 -03:00