// RUN: %target-build-swift -Xfrontend -disable-access-control -module-name a %s -o %t.out -O // RUN: %target-run %t.out // REQUIRES: executable_test import SwiftPrivate import StdlibUnittest var HashingTestSuite = TestSuite("Hashing") func avalancheTest( _ bits: Int, _ hashUnderTest: @escaping (UInt64) -> UInt64, _ pValue: Double ) { let testsInBatch = 100000 let testData = randArray64(testsInBatch) let testDataHashed = Array(testData.lazy.map { hashUnderTest($0) }) for inputBit in 0...allocate(capacity: bits) for i in 0..> 1 } } for outputBit in 0..