Commit Graph

11 Commits

Author SHA1 Message Date
Greg Parker
72c65ffcaf Revert "[stdlib] Fix FloatingPoint.init(exactly:) (#11311)"
This reverts commit c9f4df84f6.
It is causing test failures on 32-bit iOS simulator and on Linux.
2017-10-18 01:17:08 -07:00
Nate Cook
c9f4df84f6 [stdlib] Fix FloatingPoint.init(exactly:) (#11311)
* [stdlib] Fix FloatingPoint.init(exactly:)

This initializer wasn't actually checking the exact conversion. Corrects
the tests as well.
2017-10-17 13:52:11 -05:00
Lance Parker
acf94f94ec Add -Onone to all the _Debug tests 2017-09-18 12:56:52 -07:00
Dmitri Gribenko
984210aa53 tests: replace '// RUN: rm -rf' '// RUN: mkdir' pairs with '%empty-directory(...)'
These changes were made using a script.
2017-06-04 11:08:39 -07:00
Chris Williams
d5a67319da Failable initializer Tests for Int->Float 2016-11-14 17:04:49 -08:00
Dmitri Gribenko
c9041beea3 Migrate callsites from 'expectNotEmpty()' to 'expectNotNil()' 2016-09-10 20:05:43 -07:00
Dmitri Gribenko
243a35cd65 Migrate callsites from 'expectEmpty()' to 'expectNil()' 2016-09-10 20:05:42 -07:00
Chris Williams
4caf64a223 Have FloatingPointConversion use float helper methods 2016-08-01 14:27:51 -07:00
Dmitri Gribenko
8507deccb7 stdlib: simplify test organization in FloatingPointConversion.swift.gyb 2016-06-29 23:21:22 -07:00
Dmitri Gribenko
3658d14389 stdlib: simplify tests for conversions of special floating point values 2016-06-29 22:41:09 -07:00
Chris Williams
025a69988d Float->Float Failable Initializer Tests 2016-06-29 16:23:32 -07:00