3d102c92277d5b5517118f527aa7447a4f2ff42e,tests/test_se2.py,,test_perturb,#,31

Before Change



def test_perturb():
    T = SE2.exp(np.array([1, 2, 3]))
    T_copy = SE2.from_matrix(T.as_matrix())
    xi = np.array([0.3, 0.2, 0.1])
    T.perturb(xi)
    assert np.allclose(T.as_matrix(), (SE2.exp(xi) * T_copy).as_matrix())

After Change



def test_perturb():
    T = SE2.exp(np.array([1, 2, 3]))
    T_copy = copy.deepcopy(T)
    xi = np.array([0.3, 0.2, 0.1])
    T.perturb(xi)
    assert np.allclose(T.as_matrix(), (SE2.exp(xi) * T_copy).as_matrix())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_se2.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_se3.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_so3.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_so2.py
Class Name:
Method Name: test_perturb