Example #1
0
def test_check_3():
    _check_3(np.zeros((14,24,3), np.uint8), 'testing')
Example #2
0
def test_check_3_not3_dim4():
    _check_3(np.zeros((14,24,5,5), np.uint8), 'testing')
def test_check_3_not3_dim4():
    with pytest.raises(ValueError):
        _check_3(np.zeros((14, 24, 5, 5), np.uint8), 'testing')