1 2 3 4 5 6 7 8
use rosomaxa::utils::{Environment, Random}; use std::sync::Arc; pub mod random; pub fn create_test_environment_with_random(random: Arc<dyn Random>) -> Arc<Environment> { Arc::new(Environment { random, ..Default::default() }) }