We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00596e3 commit 12033c6Copy full SHA for 12033c6
test/rand_tangent.jl
@@ -87,12 +87,13 @@ using FiniteDifferences: rand_tangent
87
@test x + (rand_tangent(x) + rand_tangent(x)) isa typeof(x)
88
end
89
90
- @testset "niceness of printing" begin
+ # Julia 1.6 changed to using Ryu printing algorithm and seems better at printing short
91
+ VERSION > v"1.6" && @testset "niceness of printing" begin
92
for i in 1:50
93
@test length(string(rand_tangent(1.0))) <= 6
94
@test length(string(rand_tangent(1.0 + 1.0im))) <= 12
95
@test length(string(rand_tangent(1f0))) <= 12
- @test length(string(rand_tangent(big"1.0"))) <= 8
96
+ @test length(string(rand_tangent(big"1.0"))) <= 9
97
98
99
0 commit comments