mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-27 00:03:47 +00:00
15 lines
378 B
Swift
15 lines
378 B
Swift
import Foundation
|
|
import XCTest
|
|
|
|
@testable import ShadowsocksX_NG2
|
|
|
|
/// Domain mode availability is the single policy shared by the menu and
|
|
/// runtime mode entry points.
|
|
final class ProxyModeAvailabilityTests: XCTestCase {
|
|
func testBuiltInModesAreAlwaysAvailableInProductOrder() {
|
|
XCTAssertEqual(
|
|
ProxyMode.availableModes.map(\.kind),
|
|
[.pac, .global])
|
|
}
|
|
}
|