Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

567 B
Raw Blame
import XCTest
@testable import HighballKit

/// The steps the engine switch page lists (highball#254).
final class EngineSwitchPlanTests: XCTestCase {
    func testAnInstalledEngineOfTheSameWineSkipsTheDownloadAndTheWindowsSetup() {
        XCTAssertEqual(EngineSwitchPlan(engineInstalled: true, refreshesWindows: false).steps, [.stopPrograms, .done])
    }

    func testANewWineBuildToDownloadListsEveryStep() {
        XCTAssertEqual(EngineSwitchPlan(engineInstalled: false, refreshesWindows: true).steps, [.download, .stopPrograms, .windowsSetup, .done])
    }
}