()
| 1292 | |
| 1293 | #[test] |
| 1294 | fn failing_stack_operations() { |
| 1295 | assert!(!is_non_failing( |
| 1296 | &ParserExpr::Ident("DROP".into()), |
| 1297 | &HashMap::new(), |
| 1298 | &mut Vec::new() |
| 1299 | )); |
| 1300 | assert!(!is_non_failing( |
| 1301 | &ParserExpr::Ident("POP".into()), |
| 1302 | &HashMap::new(), |
| 1303 | &mut Vec::new() |
| 1304 | )); |
| 1305 | assert!(!is_non_failing( |
| 1306 | &ParserExpr::Ident("PEEK".into()), |
| 1307 | &HashMap::new(), |
| 1308 | &mut Vec::new() |
| 1309 | )) |
| 1310 | } |
| 1311 | |
| 1312 | #[test] |
| 1313 | fn non_failing_zero_length_repetitions() { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…