Test let statement (Bind + SeqStmt).
()
| 706 | |
| 707 | |
| 708 | def test_let(): |
| 709 | """Test let statement (Bind + SeqStmt).""" |
| 710 | let_stmt = create_test_statements()["let"] |
| 711 | basic_check( |
| 712 | let_stmt, |
| 713 | "\n".join( |
| 714 | [ |
| 715 | "SeqStmt", |
| 716 | "\tBind", |
| 717 | "\t\tIntImm", |
| 718 | "\tEvaluate", |
| 719 | "\t\tAdd", |
| 720 | "\t\t\tVar", |
| 721 | "\t\t\tIntImm", |
| 722 | ] |
| 723 | ), |
| 724 | "\n".join(["IntImm", "Bind", "Var", "IntImm", "Add", "Evaluate", "SeqStmt"]), |
| 725 | ) |
| 726 | |
| 727 | |
| 728 | def test_for(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…