Skip to content

Commit

Permalink
Add assertions for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed May 24, 2021
1 parent d604c2b commit 4aaa48f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_compositing.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ def test_slide_in():
for t in np.arange(0, duration, duration / fps):
n_reds, n_reds_expected = (0, int(t * 100))

if t:
assert n_reds_expected

if n_reds_expected == 7: # skip 7 due to innacurate frame
continue

Expand All @@ -153,6 +156,9 @@ def test_slide_in():
for t in np.arange(0, duration, duration / fps):
n_reds, n_reds_expected = (0, int(t * 100))

if t:
assert n_reds_expected

if n_reds_expected == 7: # skip 7 due to innacurate frame
continue

Expand Down

0 comments on commit 4aaa48f

Please sign in to comment.