ticket18873 400 B

1234567
  1. o Code simplification and refactoring:
  2. - Extracted dummy_origin_circuit_new so it can be used by other test
  3. functions.
  4. - Refactor circuit_predict_and_launch_new for readability and testability.
  5. - Added unit tests for extracted functions.
  6. - Extracted magic numbers in circuituse.c into defined variables.
  7. - Refactor circuit_is_available_for_use to remove unnecessary check