Пример #1
0
def test_2d_is_not_3d():
    test_image = FakeImage()
    assert not test_image.data_is_3d()
Пример #2
0
def test_2d_is_not_3d():
    test_image = FakeImage()
    assert not test_image.data_is_3d()
Пример #3
0
def test_3d_is_3d():
    test_image = FakeImage(n_amps=4)
    assert test_image.data_is_3d()
Пример #4
0
def test_3d_is_3d():
    test_image = FakeImage(n_amps=4)
    assert test_image.data_is_3d()