1
0
mirror of https://gitlab.com/MisterBiggs/astro-helper.git synced 2025-06-16 07:06:43 +00:00

add LTS to test versions

This commit is contained in:
Anson 2021-01-20 18:00:59 -07:00
parent fb61aa140e
commit 9c9ebc4eb6
2 changed files with 5 additions and 4 deletions

View File

@ -36,10 +36,12 @@
# image: julia:0.7 # image: julia:0.7
# <<: *test_definition # <<: *test_definition
# test:1.0: # Current LTS Release
# image: julia:1.0 test:1.0.5:
# <<: *test_definition image: julia:1.0
<<: *test_definition
# Current Stable Release
test:1.5: test:1.5:
image: julia:1.5 image: julia:1.5
<<: *test_definition <<: *test_definition

View File

@ -9,5 +9,4 @@ 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