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 d927bdb commit 007523bCopy full SHA for 007523b
1 file changed
test/runtests.jl
@@ -101,6 +101,14 @@ end
101
end
102
103
104
+@testset "constructor" begin
105
+ @testset "invalid $T" for T in CONTAINER_TYPES
106
+ f = FixedPointDecimals.max_exp10(T) + 1
107
+ @test_throws ArgumentError reinterpret(FD{T,f}, 0)
108
+ @test_throws ArgumentError reinterpret(FD{T,-1}, 0)
109
+ end
110
+end
111
+
112
@testset "conversion" begin
113
@testset for x in keyvalues[FD2]
114
@testset for T in [Rational{Int128}, WFD2, WFD4]
0 commit comments