ticket18873 463 B

12345678910
  1. o Code simplification and refactoring:
  2. - Refactor circuit_predict_and_launch_new for readability and
  3. testability. Closes ticket 18873.
  4. - Extract magic numbers in circuituse.c into defined variables.
  5. - Refactor circuit_is_available_for_use to remove unnecessary check.
  6. o Minor features (unit tests):
  7. - Extract dummy_origin_circuit_new so it can be used by other test
  8. functions.
  9. - Add unit tests circuit_predict_and_launch_new.