Example #1
0
def test_homogeneous_has_true_inverse():
    h = Homogeneous.identity(2)
    assert(h.has_true_inverse)
Example #2
0
def test_homogeneous_has_true_inverse():
    h = Homogeneous.identity(2)
    assert h.has_true_inverse
Example #3
0
def test_homogeneous_eye():
    e = np.eye(3)
    h = Homogeneous.identity(2)
    assert_allclose(e, h.h_matrix)
Example #4
0
def test_homogeneous_eye():
    e = np.eye(3)
    h = Homogeneous.identity(2)
    assert_allclose(e, h.h_matrix)