def test_2d_is_not_3d(): test_image = FakeImage() assert not test_image.data_is_3d()
def test_3d_is_3d(): test_image = FakeImage(n_amps=4) assert test_image.data_is_3d()