()
| 132 | |
| 133 | #[test] |
| 134 | fn parse_while_loop() { |
| 135 | let block = parse_block("BEGIN WHILE i < 10 LOOP i := i + 1; END LOOP; END").unwrap(); |
| 136 | assert_eq!(block.statements.len(), 1); |
| 137 | assert!(matches!(&block.statements[0], Statement::While { .. })); |
| 138 | } |
| 139 | |
| 140 | #[test] |
| 141 | fn parse_for_loop() { |
nothing calls this directly
no test coverage detected