#![allow(dead_code)]
#[macro_use]
extern crate optional_struct;
#[derive(OptionalStruct)]
struct Config {
delay: Option<u32>,
path: String,
percentage: f32,
}
#[test]
fn test_apply_options() {
let opt_config = OptionalConfig::empty();
assert_eq!(opt_config.delay, None);
assert_eq!(opt_config.path, None);
assert_eq!(opt_config.percentage, None);
}