SwiftCheck v0.9.0 Release Notes

Release Date: 2017-10-20 // over 3 years ago
  • ⬆️ SwiftCheck has internally upgraded to Swift 4.x.

    🍱 ⚠️ Breaking Changes Ahead ⚠️

    👀 Generation of floating point values specified an incorrect mask which could lead to decreased diversity of test values. Calculation of the mask has been corrected (h/t @sebastiangrail). Seeds replaying tests involving floating point numbers may need to be recalculated.

    ⚡️ Gen.fromElements(in:), Gen.fromElements(of:), Gen.choose(_:) and Gen.chooseAny() have been updated to take fuller advantage of type inference and may no longer require explicit specialization. In addition, incorrect specializations may now be diagnosed as errors.

    🗄 Gen.map(...) overloads have been deprecated and renamed Gen.zipWith. These have been given a similar overhaul to the above.