Skip to content

Commit 482d291

Browse files
authored
Merge pull request #99 from ararslan/aa/1.2
Add Project.toml, fix tests on Julia 1.2
2 parents 9dd6acc + 04a3810 commit 482d291

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.jl.*.cov
33
*.jl.mem
44
perf/benchmarkparams.json
5+
Manifest.toml

Project.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name = "Rotations"
2+
uuid = "6038ab10-8711-5258-84ad-4b1120ba62dc"
3+
version = "0.11.1"
4+
5+
[deps]
6+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
7+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
8+
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
9+
10+
[compat]
11+
StaticArrays = ">=0.10.0"
12+
julia = "0.7, 1.0"
13+
14+
[extras]
15+
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
16+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
17+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
18+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
19+
20+
[targets]
21+
test = ["BenchmarkTools", "ForwardDiff", "Random", "Test"]

REQUIRE

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/REQUIRE

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/rotation_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,11 @@ all_types = (RotMatrix{3}, Quat, SPQuat, AngleAxis, RodriguesVec,
353353
r = rand(RotMatrix{2})
354354
show(io, MIME("text/plain"), r)
355355
str = String(take!(io))
356-
@test startswith(str, "2×2 RotMatrix{2,Float64,4}:")
356+
@test startswith(str, "2×2 RotMatrix{2,Float64,4}")
357357

358358
rxyz = RotXYZ(1.0, 2.0, 3.0)
359359
show(io, MIME("text/plain"), rxyz)
360360
str = String(take!(io))
361-
@test startswith(str, "3×3 RotXYZ{Float64}(1.0, 2.0, 3.0):")
361+
@test startswith(str, "3×3 RotXYZ{Float64}") && occursin("(1.0, 2.0, 3.0):", str)
362362
end
363363
end

0 commit comments

Comments
 (0)