everything is broke, gsd is ass

This commit is contained in:
Trey t
2026-01-10 16:20:13 -06:00
parent a863a9987f
commit 44952140c8
27 changed files with 112827 additions and 18438 deletions

View File

@@ -13,6 +13,7 @@ import CoreLocation
// MARK: - ScenarioAPlanner Swift Tests
@Suite(.serialized)
struct ScenarioAPlannerSwiftTests {
// MARK: - Test Data Helpers
@@ -296,7 +297,7 @@ struct ScenarioAPlannerSwiftTests {
#expect(firstGameDate == stopArrival)
}
@Test("stop departure date is last game date")
@Test
func plan_StopDepartureDate_IsLastGameDate() {
let stadium = makeStadium(city: "Chicago", latitude: 41.8781, longitude: -87.6298)
@@ -489,7 +490,7 @@ struct ScenarioAPlannerSwiftTests {
#expect(twoStopOption?.stops[1].city == "San Francisco")
}
@Test("handles many games efficiently")
@Test
func plan_ManyGames_HandledEfficiently() {
var stadiums: [Stadium] = []
var games: [Game] = []
@@ -940,7 +941,7 @@ struct ScenarioAPlannerSwiftTests {
}
}
@Test("three same-day games picks feasible combinations")
@Test
func plan_ThreeSameDayGames_PicksFeasibleCombinations() {
// LA 1pm, Anaheim 4pm (30mi), San Diego 7pm (90mi from Anaheim)
// Feasible: LAAnaheimSD

View File

@@ -11,7 +11,7 @@ import Foundation
import CoreLocation
@testable import SportsTime
@Suite("ScenarioBPlanner Tests")
@Suite(.serialized)
struct ScenarioBPlannerTests {
// MARK: - Test Fixtures
@@ -1487,7 +1487,7 @@ struct ScenarioBPlannerTests {
}
}
@Test("filler game same-day as must-see is excluded")
@Test
func plan_FillerSameDayAsAnchor_Excluded() {
let planner = ScenarioBPlanner()
let la = laStadium
@@ -1640,7 +1640,7 @@ struct ScenarioBPlannerTests {
// MARK: - Impossible Geographic Combination Tests (Phase 09-02)
@Test("must-see games too far apart for date span fail")
@Test
func plan_MustSeeGamesTooFarApart_Fails() {
let planner = ScenarioBPlanner()

View File

@@ -12,7 +12,7 @@ import Foundation
import CoreLocation
@testable import SportsTime
@Suite("ScenarioCPlanner Tests")
@Suite(.serialized)
struct ScenarioCPlannerTests {
// MARK: - Test Fixtures
@@ -2166,7 +2166,7 @@ struct ScenarioCPlannerTests {
}
}
@Test("Multiple games some on corridor some off filters correctly")
@Test
func corridor_MultipleGamesMixed_FiltersCorrectly() {
let planner = ScenarioCPlanner()