Zum Inhalt

apple/PhysarumApp/Tests/FactorySlotsTests.swift

import XCTest
import PhysarumEngine
@testable import Physarum

final class FactorySlotsTests: XCTestCase {
    func testLoadsBundledFactoryManifest() {
        let f = FactorySlots.load()
        XCTAssertGreaterThan(f.version, 0)
        XCTAssertFalse(f.presets.isEmpty)
        XCTAssertLessThanOrEqual(f.presets.count, PresetSlots.count)   // never more presets than slots
    }
}