From 776b9aa030fb25ecce5216ad64abad6f8762c9ba Mon Sep 17 00:00:00 2001 From: AlessandroBregoli Date: Tue, 7 Feb 2023 16:34:57 +0100 Subject: [PATCH] clippy error solved --- reCTBN/tests/reward_evaluation.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reCTBN/tests/reward_evaluation.rs b/reCTBN/tests/reward_evaluation.rs index c0372b1..355341c 100644 --- a/reCTBN/tests/reward_evaluation.rs +++ b/reCTBN/tests/reward_evaluation.rs @@ -1,6 +1,6 @@ mod utils; -use approx::{abs_diff_eq, assert_abs_diff_eq}; +use approx::assert_abs_diff_eq; use ndarray::*; use reCTBN::{ params, @@ -10,7 +10,7 @@ use reCTBN::{ use utils::generate_discrete_time_continous_node; #[test] -fn simple_factored_reward_function_binary_node_MC() { +fn simple_factored_reward_function_binary_node_mc() { let mut net = CtbnNetwork::new(); let n1 = net .add_node(generate_discrete_time_continous_node(String::from("n1"), 2)) @@ -50,7 +50,7 @@ fn simple_factored_reward_function_binary_node_MC() { } #[test] -fn simple_factored_reward_function_chain_MC() { +fn simple_factored_reward_function_chain_mc() { let mut net = CtbnNetwork::new(); let n1 = net .add_node(generate_discrete_time_continous_node(String::from("n1"), 2))