コード例 #1
0
def test_SetGetAngularSpeedTensor_fails():
    kine = Kinematic()
    with pytest.raises(TypeError):
        kine.W = 3
    with pytest.raises(ValueError):
        kine.W = np.eye(3)
コード例 #2
0
def test_SetGetAngularSpeedTensor_standard():
    kine = Kinematic()
    kine.W = np.zeros((3, 3))