feat: add benchmark-programs — 58 telecom COBOL test programs
作为子目录纳入系统,与核心测试管道协同 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# PERFORM Loop Variations
|
||||
|
||||
## Test Cases
|
||||
|
||||
| Test ID | Description |
|
||||
|---------|-------------|
|
||||
| LP-N001 | PERFORM VARYING (counting loop 1 TO 10) |
|
||||
| LP-N002 | PERFORM UNTIL (condition loop) |
|
||||
| LP-N003 | PERFORM TIMES (fixed count) |
|
||||
| LP-N004 | PERFORM THRU paragraph range |
|
||||
| LP-N005 | Nested PERFORM 3 levels |
|
||||
| LP-N006 | EXIT PERFORM / EXIT PERFORM CYCLE |
|
||||
| LP-N007 | Zero iteration PERFORM test |
|
||||
| LP-A001 | Inline PERFORM (END-PERFORM) variation |
|
||||
|
||||
## Features Covered
|
||||
- All PERFORM variants (VARYING, UNTIL, TIMES, THRU)
|
||||
- Inline PERFORM with END-PERFORM scope terminator
|
||||
- Nested loops at 3 levels (27 iterations)
|
||||
- Loop exit (EXIT PERFORM) and cycle skip (EXIT PERFORM CYCLE)
|
||||
- Zero-iteration boundary cases
|
||||
|
||||
## Expected Results
|
||||
All 8 tests should display PASS.
|
||||
Reference in New Issue
Block a user