mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[copybara] mostrobotpy to allwpilib (#8545)
Project import generated by Copybara. GitOrigin-RevId: f10284b37498bb6a088891ca41f160793ec7fd90
This commit is contained in:
@@ -73,11 +73,7 @@ def test_init_rotation_matrix():
|
||||
assert expected2 == rot2
|
||||
|
||||
# Matrix that isn't orthogonal
|
||||
R3 = np.array([
|
||||
[1.0, 0.0, 0.0],
|
||||
[1.0, 0.0, 0.0],
|
||||
[1.0, 0.0, 0.0]
|
||||
])
|
||||
R3 = np.array([[1.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 0.0, 0.0]])
|
||||
with pytest.raises(ValueError):
|
||||
Rotation3d(R3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user