Test for loop statement.
()
| 726 | |
| 727 | |
| 728 | def test_for(): |
| 729 | """Test for loop statement.""" |
| 730 | for_loop = create_test_statements()["for"] |
| 731 | basic_check( |
| 732 | for_loop, |
| 733 | "\n".join( |
| 734 | ["For", "\tIntImm", "\tIntImm", "\tEvaluate", "\t\tAdd", "\t\t\tVar", "\t\t\tIntImm"] |
| 735 | ), |
| 736 | "\n".join(["IntImm", "IntImm", "Var", "IntImm", "Add", "Evaluate", "For"]), |
| 737 | ) |
| 738 | |
| 739 | |
| 740 | def test_while(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…