def test_alt_constructor():
    sa = SparseArray.from_length(5)

    assert sa == SparseArray([0, 0, 0, 0, 0])