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