'Test fuzzyval with matching value, snapping to a smaller value.'

def test_equal_smaller(self, neighborlist):

    neighborlist.fuzzyval = 5
    assert (neighborlist.previtem() == 1)
    assert (neighborlist._idx == 2)
