brainbox.tests.test_video

Classes

TestVideo

class TestVideo(methodName='runTest')[source]

Bases: TestCase

setUp() None[source]

Test frames are 12 2x2x3 arrays, where frames[0][…,0] =

[[1, 1],

[1, 1]]

frames[1][…,0] =
[[2, 2],

[2, 2]]

[…]

frames[-1][…,0] =
[[12, 12],

[12, 12]]

test_frame_diff()[source]
test_frame_diffs()[source]