def test_indexOfShortestString_11():
    assert indexOfShortestString(["rabbit", "wolf", "rabbit", "bear",
                                  "foo"]) == 4
def test_indexOfShortestString_12():
    assert indexOfShortestString(["horse", "rabbit", "bear", "tiger"]) == 2
def test_indexOfShortestString_08():
    assert indexOfShortestString(["bear", "foo"]) == 1
def test_indexOfShortestString_10():
    assert indexOfShortestString(["foo", "wolf", "bar", "bear"]) == 0
def test_indexOfShortestString_07():
    assert indexOfShortestString(["foo", "bar"]) == 0
def test_indexOfShortestString_06():
    with pytest.raises(ValueError):
        result = indexOfShortestString("foo")
def test_indexOfShortestString_05():
    with pytest.raises(ValueError):
        result = indexOfShortestString([1, 2, "foo"])
def test_indexOfShortestString_03():
    with pytest.raises(ValueError):
        result = indexOfShortestString(["foo", 1, 2])
def test_indexOfShortestString_01():
    with pytest.raises(ValueError):
        result = indexOfShortestString("not a list")