Test sequence statement.
()
| 769 | |
| 770 | |
| 771 | def test_seq_stmt(): |
| 772 | """Test sequence statement.""" |
| 773 | seq_stmt = create_test_statements()["seq_stmt"] |
| 774 | basic_check( |
| 775 | seq_stmt, |
| 776 | "\n".join( |
| 777 | [ |
| 778 | "SeqStmt", |
| 779 | "\tEvaluate", |
| 780 | "\t\tAdd", |
| 781 | "\t\t\tVar", |
| 782 | "\t\t\tIntImm", |
| 783 | "\tFor", |
| 784 | "\t\tIntImm", |
| 785 | "\t\tIntImm", |
| 786 | "\t\tEvaluate", |
| 787 | "\t\t\tAdd", |
| 788 | "\t\t\t\tVar", |
| 789 | "\t\t\t\tIntImm", |
| 790 | ] |
| 791 | ), |
| 792 | "\n".join( |
| 793 | [ |
| 794 | "Var", |
| 795 | "IntImm", |
| 796 | "Add", |
| 797 | "Evaluate", |
| 798 | "IntImm", |
| 799 | "IntImm", |
| 800 | "Var", |
| 801 | "IntImm", |
| 802 | "Add", |
| 803 | "Evaluate", |
| 804 | "For", |
| 805 | "SeqStmt", |
| 806 | ] |
| 807 | ), |
| 808 | ) |
| 809 | |
| 810 | |
| 811 | def test_block_realize(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…