Ideally, each test should have ONE assert statement.
But there are reasonable exceptions!
When ONE assert is ideal:
def test_find_intersection_returns_positive_distance():
"""Test that distance is always positive when intersection found."""
x_road = np.array([0, 10, 20], dtype=np.float64)
y_road = np.array([0, 2, 4], dtype=np.float64)
x, y, dist = find_intersection(x_road, y_road, -10.0, 0.0, 10.0)
assert dist > 0