Commit Graph

2 Commits

Author SHA1 Message Date
Kuba (Brecka) Mracek
2fa79689fa Turn build-swift-stdlib-static-print on for freestanding preset (#41260) 2022-02-09 05:41:04 -08:00
David Rönnqvist
b5d47fc37b [stdlib] Add unit tests for the two reduce variants
This checks:
 - The examples from the documentation of `reduce(_:_:)` and `reduce(into:_:)`.
 - Different levels of inference in the closure arguments being passed.
 - That the value passed as the `initialResult` remains unmodified.
2017-07-16 17:08:15 +02:00