Test block realize statement.
()
| 809 | |
| 810 | |
| 811 | def test_block_realize(): |
| 812 | """Test block realize statement.""" |
| 813 | block_realize = create_test_statements()["block_realize"] |
| 814 | basic_check( |
| 815 | block_realize, |
| 816 | "\n".join( |
| 817 | [ |
| 818 | "BlockRealize", |
| 819 | "\tIntImm", |
| 820 | "\tIntImm", |
| 821 | "\tBlock", |
| 822 | "\t\tEvaluate", |
| 823 | "\t\t\tAdd", |
| 824 | "\t\t\t\tVar", |
| 825 | "\t\t\t\tIntImm", |
| 826 | ] |
| 827 | ), |
| 828 | "\n".join( |
| 829 | [ |
| 830 | "IntImm", |
| 831 | "IntImm", |
| 832 | "IntImm", |
| 833 | "IntImm", |
| 834 | "Var", |
| 835 | "IntImm", |
| 836 | "Add", |
| 837 | "Evaluate", |
| 838 | "Block", |
| 839 | "BlockRealize", |
| 840 | ] |
| 841 | ), |
| 842 | ) |
| 843 | |
| 844 | |
| 845 | def test_if_then_else(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…