diff --git a/src/utility/cfg.rs b/src/utility/cfg.rs index 68b01fc..f12e51f 100644 --- a/src/utility/cfg.rs +++ b/src/utility/cfg.rs @@ -92,6 +92,8 @@ pub fn read_settings() -> Result { Ok(settings_map) } +/// Returns a mock configuration for Machine unit testing +/// FIXME: Does not cover the whole configuration yet pub fn get_debug_configuration() -> Settings { let mut settings_map = Settings::new(); settings_map.insert(MachineSettingKey::PageSize, 128);