Stabilize beta release with warning cleanup and edge-case fixes

This commit is contained in:
Trey t
2026-02-22 13:18:14 -06:00
parent fddea81e36
commit ec2bbb4764
55 changed files with 712 additions and 315 deletions

View File

@@ -10,6 +10,7 @@
import XCTest
@testable import SportsTime
@MainActor
final class TravelPlacementTests: XCTestCase {
// MARK: - Helpers
@@ -417,14 +418,14 @@ final class TravelPlacementTests: XCTestCase {
// Follow Team pattern: HoustonCincinnatiHoustonCincinnati
// Two segments share the same city pair (HoustonCincinnati)
// Each must get a unique travel anchor ID so overrides don't collide.
let stops = [
_ = [
makeStop(city: "Houston", arrival: may(1), departure: may(2)), // Stop 0
makeStop(city: "Cincinnati", arrival: may(4), departure: may(5)), // Stop 1
makeStop(city: "Houston", arrival: may(7), departure: may(8)), // Stop 2
makeStop(city: "Cincinnati", arrival: may(10), departure: may(11)) // Stop 3
]
let segments = [
_ = [
makeSegment(from: "Houston", to: "Cincinnati"), // Seg 0: stops[0] stops[1]
makeSegment(from: "Cincinnati", to: "Houston"), // Seg 1: stops[1] stops[2]
makeSegment(from: "Houston", to: "Cincinnati") // Seg 2: stops[2] stops[3]