Skip to content

Commit

Permalink
formatted xctest steering
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldengine committed Dec 28, 2024
1 parent 90f94c2 commit 3f3a24c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/UntoldEngineTests/SteeringSystemTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ final class SteeringSystemTests: XCTestCase {

// Mock functions
func getWaypointIndex(for _: EntityID) -> Int {
return 1 // Simulate that the entity is closest to the first waypoint
1 // Simulate that the entity is closest to the first waypoint
}

func getPosition(entityId _: EntityID) -> simd_float3 {
return mockPosition
mockPosition
}

// Run the function
Expand Down Expand Up @@ -230,11 +230,11 @@ final class SteeringSystemTests: XCTestCase {

// Mock functions
func getWaypointIndex(for _: EntityID) -> Int {
return -10 // Simulate an invalid negative waypoint index
-10 // Simulate an invalid negative waypoint index
}

func getPosition(entityId _: EntityID) -> simd_float3 {
return mockPosition
mockPosition
}

// Run the function
Expand Down

0 comments on commit 3f3a24c

Please sign in to comment.