We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ExpectFailure
gcd
1 parent 85264c8 commit bd68569Copy full SHA for bd68569
Tests/IntegerUtilitiesTests/GCDTests.swift
@@ -35,8 +35,10 @@ final class IntegerUtilitiesGCDTests: XCTestCase {
35
XCTAssertEqual(gcd(97*67*53*27*8, 83*67*53*9*32), 67*53*9*8)
36
XCTAssertEqual(gcd(Int.min, 2), 2)
37
38
- XCTExpectFailure{ gcd(0, Int.min) }
39
- XCTExpectFailure{ gcd(Int.min, 0) }
40
- XCTExpectFailure{ gcd(Int.min, Int.min) }
+ // TODO: Enable these when version compability allows.
+ //
+ // XCTExpectFailure{ gcd(0, Int.min) }
41
+ // XCTExpectFailure{ gcd(Int.min, 0) }
42
+ // XCTExpectFailure{ gcd(Int.min, Int.min) }
43
}
44
0 commit comments