mirror of
https://gitlab.com/MisterBiggs/astro-helper.git
synced 2025-06-16 15:17:20 +00:00
making test fail on purpose
This commit is contained in:
parent
928784937b
commit
fb61aa140e
@ -9,4 +9,5 @@ import AstroHelper: Quaternion
|
|||||||
@test Quaternion([0 0 0], 0) == Quaternion(0, 0, 0, 1)
|
@test Quaternion([0 0 0], 0) == Quaternion(0, 0, 0, 1)
|
||||||
@test Quaternion([1 -2 2], (-2 * pi / 3)) ≈ Quaternion([-sqrt(3) / 6, sqrt(3) / 3, -sqrt(3) / 3, 1 / 2])
|
@test Quaternion([1 -2 2], (-2 * pi / 3)) ≈ Quaternion([-sqrt(3) / 6, sqrt(3) / 3, -sqrt(3) / 3, 1 / 2])
|
||||||
@test_throws ErrorException Quaternion(1, 2, 3, 4)
|
@test_throws ErrorException Quaternion(1, 2, 3, 4)
|
||||||
|
@test false
|
||||||
end
|
end
|
Loading…
x
Reference in New Issue
Block a user