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 e6635fa commit 30fbd88Copy full SHA for 30fbd88
test/intfuncs.jl
@@ -125,14 +125,14 @@ end
125
@test count_zeros(Int64(1)) == 63
126
127
@test factorial(3) == 6
128
-@test factorial(Int8(3)) == 6
+@test factorial(Int8(3)) === 6
129
@test_throws DomainError factorial(-3)
130
@test_throws DomainError factorial(Int8(-3))
131
132
@test isqrt(4) == 2
133
@test isqrt(5) == 2
134
-@test isqrt(Int8(4)) == 2
135
-@test isqrt(Int8(5)) == 2
+@test isqrt(Int8(4)) === Int8(2)
+@test isqrt(Int8(5)) === Int8(2)
136
# issue #4884
137
@test isqrt(9223372030926249000) == 3037000498
138
@test isqrt(typemax(Int128)) == parse(Int128,"13043817825332782212")
0 commit comments