From cd88f161eb430b295958e794ee130352c8e845ef Mon Sep 17 00:00:00 2001 From: Robert Thompson Date: Wed, 29 Jan 2020 10:48:46 -0500 Subject: [PATCH] Fix two tests for arm32, should all pass now --- Tests/BigIntTests/BigIntTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/BigIntTests/BigIntTests.swift b/Tests/BigIntTests/BigIntTests.swift index bed3083..684c79d 100644 --- a/Tests/BigIntTests/BigIntTests.swift +++ b/Tests/BigIntTests/BigIntTests.swift @@ -172,7 +172,7 @@ final class BigIntTests: XCTestCase { XCTAssertEqual(fooz, foo / 1024) let barz = BigInt(1) << 64 - XCTAssertEqual(barz, BigInt(UInt.max) + 1) + XCTAssertEqual(barz, BigInt(UInt64.max) + 1) } func testNegation() { @@ -261,7 +261,7 @@ final class BigIntTests: XCTestCase { } func testClampingConversion() { - XCTAssertEqual(BigInt(clamping: UInt.max), BigInt(UInt64(18446744073709551615))) + XCTAssertEqual(BigInt(clamping: UInt64.max), BigInt(UInt64(18446744073709551615))) } func testUIntConversion() {