Skip to content

Commit

Permalink
Merge pull request #99 from ararslan/aa/1.2
Browse files Browse the repository at this point in the history
Add Project.toml, fix tests on Julia 1.2
  • Loading branch information
tkoolen authored Aug 12, 2019
2 parents 9dd6acc + 04a3810 commit 482d291
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.jl.*.cov
*.jl.mem
perf/benchmarkparams.json
Manifest.toml
21 changes: 21 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Rotations"
uuid = "6038ab10-8711-5258-84ad-4b1120ba62dc"
version = "0.11.1"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
StaticArrays = ">=0.10.0"
julia = "0.7, 1.0"

[extras]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["BenchmarkTools", "ForwardDiff", "Random", "Test"]
2 changes: 0 additions & 2 deletions REQUIRE

This file was deleted.

2 changes: 0 additions & 2 deletions test/REQUIRE

This file was deleted.

4 changes: 2 additions & 2 deletions test/rotation_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,11 @@ all_types = (RotMatrix{3}, Quat, SPQuat, AngleAxis, RodriguesVec,
r = rand(RotMatrix{2})
show(io, MIME("text/plain"), r)
str = String(take!(io))
@test startswith(str, "2×2 RotMatrix{2,Float64,4}:")
@test startswith(str, "2×2 RotMatrix{2,Float64,4}")

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

0 comments on commit 482d291

Please sign in to comment.