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 8d23d7b commit 243017dCopy full SHA for 243017d
test/unittests.jl
@@ -231,6 +231,8 @@ end
231
@test ustrip(z) ≈ 60 * 60 * 24 * 365.25
232
233
# Test type stability of extreme range of units
234
+ @test typeof(u"1") == Quantity{Float64,DEFAULT_DIM_TYPE}
235
+ @test typeof(u"1f0") == Quantity{Float64,DEFAULT_DIM_TYPE}
236
@test typeof(u"s"^2) == Quantity{Float64,DEFAULT_DIM_TYPE}
237
@test typeof(u"Ω") == Quantity{Float64,DEFAULT_DIM_TYPE}
238
@test typeof(u"Gyr") == Quantity{Float64,DEFAULT_DIM_TYPE}
0 commit comments