()
| 102 | |
| 103 | #[test] |
| 104 | fn test_validate_valid_config() { |
| 105 | let config = ProjectConfig { |
| 106 | options: Some(ProjectOptions { |
| 107 | walltime: Some(WalltimeOptions { |
| 108 | warmup_time: Some("1s".to_string()), |
| 109 | max_time: Some("10s".to_string()), |
| 110 | min_time: Some("2s".to_string()), |
| 111 | max_rounds: None, |
| 112 | min_rounds: None, |
| 113 | }), |
| 114 | working_directory: Some("./bench".to_string()), |
| 115 | }), |
| 116 | benchmarks: None, |
| 117 | }; |
| 118 | |
| 119 | assert!(config.validate().is_ok()); |
| 120 | } |
| 121 | |
| 122 | #[test] |
| 123 | fn test_load_from_path() { |
nothing calls this directly
no outgoing calls
no test coverage detected