Skip to content

Commit 4da6f32

Browse files
committed
tests: Introduce assert_structure to fission test
1 parent 48e0c0a commit 4da6f32

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_fission.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,7 @@ def define(self, dimensions):
192192
# x and y
193193
assert 'x0_blk0_size' in str(op.parameters)
194194
assert 'y0_blk0_size' in str(op.parameters)
195+
196+
# Two loop nests: free-surface-like and update-like
197+
assert_structure(op, ['t,x,y,z', 't,x0_blk0,y0_blk0,x,y,z'],
198+
't,x,y,z,x0_blk0,y0_blk0,x,y,z')

0 commit comments

Comments
 (0)