Skip to content

Commit

Permalink
Merge pull request #142 from matsim-vsp/library-updates
Browse files Browse the repository at this point in the history
Delete unnecessary Logging
  • Loading branch information
paulheinr authored Nov 29, 2024
2 parents 919fa2b + b32305e commit 9e037d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/simulation/messaging/communication/message_broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ where
pub fn send_recv(&mut self, now: u32) -> Vec<SyncMessage> {
let vehicles = self.prepare_send_recv_vehicles(now);

for (_, m) in &vehicles {
if !m.vehicles.is_empty() {
info!("Rank {}, message {:?}", self.rank(), m);
}
}

let mut result: Vec<SyncMessage> = Vec::new();
let mut expected_vehicle_messages = self.neighbors.clone();

Expand Down
4 changes: 0 additions & 4 deletions tests/test_adhoc_routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ fn create_resources(in_dir: &PathBuf, out_dir: &PathBuf) {

#[test]
fn execute_adhoc_routing_one_part_no_updates() {
// init_std_out_logging();

create_resources(
&PathBuf::from("./assets/adhoc_routing/no_updates/"),
&PathBuf::from("./test_output/simulation/adhoc_routing/no_updates/one_part/"),
Expand Down Expand Up @@ -67,8 +65,6 @@ fn execute_adhoc_routing_two_parts_no_updates() {

#[test]
fn execute_adhoc_routing_one_part_with_updates() {
// init_std_out_logging();

create_resources(
&PathBuf::from("./assets/adhoc_routing/with_updates/"),
&PathBuf::from("./test_output/simulation/adhoc_routing/with_updates/one_part/"),
Expand Down

0 comments on commit 9e037d8

Please sign in to comment.