File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -171,36 +171,6 @@ pub fn run(cli: &Cli) {
171171#[ cfg( test) ]
172172mod tests {
173173 use super :: * ;
174- // use regex::Regex;
175-
176- // #[test]
177- // fn random_gen_humidity_returns_correctly_formatted_humidity_data() {
178- // let result = random_gen_humidity();
179- // let regex = Regex::new(r"\d{1,2}.\d{1}").unwrap();
180-
181- // assert!(regex.is_match(&result));
182- // }
183- // #[test]
184- // fn random_gen_temperature_returns_correctly_formatted_humidity_data() {
185- // let result = random_gen_temperature();
186- // let regex = Regex::new(r"\d{1,2}.\d{1}").unwrap();
187-
188- // assert!(regex.is_match(&result));
189- // }
190-
191- // #[test]
192- // fn random_gen_pressure_returns_correctly_formatted_pressure_data() {
193- // let result = random_gen_pressure();
194- // let regex = Regex::new(r"\d{3,4}").unwrap();
195- // assert!(regex.is_match(&result));
196- // }
197-
198- // #[test]
199- // fn random_gen_dust_concentration_returns_correctly_formatted_pressure_data() {
200- // let result = random_gen_dust_concentration();
201- // let regex = Regex::new(r"\d{0,4}").unwrap();
202- // assert!(regex.is_match(&result));
203- // }
204174
205175 #[ test]
206176 fn air_purity_from_value_returns_correct_enum ( ) {
You can’t perform that action at this time.
0 commit comments