pub fn new_for_config(config: &NiDkgConfig) -> Self {
        let mut env = Self::new();
        env.update_for_config(config);
        env
    }
/// Creates a new test environment appropriate for the given config.
Creates a new test environment appropriate for the given config.
Creates a new test environment appropriate for the given config .
pub fn new_for_config(config: &NiDkgConfig) -> Self {
        let mut env = Self::new();
        env.update_for_config(config);
        env
    }
pub fn new_for_config ( config : & NiDkgConfig ) -> Self { let mut env = Self :: new ( ) ; env . update_for_config ( config ) ; env }
Creates a new test environment appropriate for the given config.
Creates a new test environment appropriate for the given config .
config
&NiDkgConfig
config
&NiDkgConfig