 import Foundation
 import XCTest
 
-import SRP
+@testable import SRP
 
 class PySrptoolsTests: XCTestCase {
     func testClient() {

                "salt: \(salt.hex)",
                "verificationKey: \(verificationKey.hex)",
                "serverPrivateKey: \(server.privateKey.hex)",
                "clientPrivateKey: \(client.privateKey?.hex ?? "N/A")"
            ].joined(separator: ", ")
        }

        let A: Data
        do {

        let HAMK: Data
        do {
            HAMK = try server.verifySession(keyProof: M)
            additionalDebug += "\nserverHAMK: \(HAMK.hex)"
        } catch {
            return XCTFail("Server couldn't verify the session: \(error) -- \(debugInfo())\(additionalDebug)", file: file, line: line)
        }

        // Using H(AMK), the client verifies the server's proof
        do {
            try client.verifySession(keyProof: HAMK)
        } catch {
            return XCTFail("Client couldn't verify the session: \(error) -- \(debugInfo())\(additionalDebug)", file: file, line: line)
        }

        // At this point, the client is authenticated as well
