Update tests after removal of DoubleWidth

This commit is contained in:
Max Moiseev
2018-03-23 17:14:46 -07:00
parent cee7efca65
commit 141fefc06b
5 changed files with 446 additions and 430 deletions

View File

@@ -105,11 +105,14 @@ FloatingPoint.test("BinaryFloatingPoint/genericIntegerConversion") {
expectEqual(Float._convert(from: Int64.max).value, Float(Int64.max))
expectEqual(Float._convert(from: Int64.min).value, Float(Int64.min))
// FIXME: DoubleWidth is no longer part of the standard library
#if false
expectEqual(Float._convert(from: DoubleWidth<UInt64>.max).value, .infinity)
expectEqual(
Float._convert(from: DoubleWidth<DoubleWidth<Int64>>.max).value, .infinity)
expectEqual(
Float._convert(from: DoubleWidth<DoubleWidth<Int64>>.min).value, -.infinity)
#endif
}
FloatingPoint.test("BinaryFloatingPoint/genericFloatingPointConversion") {