Stabilize beta release with warning cleanup and edge-case fixes
This commit is contained in:
@@ -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: Houston→Cincinnati→Houston→Cincinnati
|
||||
// Two segments share the same city pair (Houston→Cincinnati)
|
||||
// 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]
|
||||
|
||||
Reference in New Issue
Block a user