Test while loop statement.
()
| 738 | |
| 739 | |
| 740 | def test_while(): |
| 741 | """Test while loop statement.""" |
| 742 | while_loop = create_test_statements()["while"] |
| 743 | basic_check( |
| 744 | while_loop, |
| 745 | "\n".join( |
| 746 | [ |
| 747 | "While", |
| 748 | "\tLT", |
| 749 | "\t\tVar", |
| 750 | "\t\tIntImm", |
| 751 | "\tEvaluate", |
| 752 | "\t\tAdd", |
| 753 | "\t\t\tVar", |
| 754 | "\t\t\tIntImm", |
| 755 | ] |
| 756 | ), |
| 757 | "\n".join(["Var", "IntImm", "LT", "Var", "IntImm", "Add", "Evaluate", "While"]), |
| 758 | ) |
| 759 | |
| 760 | |
| 761 | def test_buffer_store(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…