Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
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])
}
}