def test_lorentz_ip_self():
    assert localization.lorentz_ip([1, 1, 1, 2]) == -1
def test_lorentz_ip_3():
    assert localization.lorentz_ip([1, 1, 2], [1, 1, 2]) == -2