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 7f1997f commit ea0447bCopy full SHA for ea0447b
test/unittests.jl
@@ -1689,10 +1689,13 @@ end
1689
@test dimension(km).m == 0
1690
VERSION >= v"1.9" &&
1691
@test_throws "is not available as a symbol" dimension(km).γ
1692
- @test !iszero(km)
+ @test !iszero(dimension(km))
1693
@test inv(km) == us"km^-1"
1694
@test inv(km) == u"km^-1"
1695
1696
+ @test !iszero(dimension(SymbolicConstants.c))
1697
+ @test SymbolicConstants.c isa Quantity{T,SymbolicDimensionsSingleton{R}} where {T,R}
1698
+
1699
# Constructors
1700
@test SymbolicDimensionsSingleton(:cm) isa SymbolicDimensionsSingleton{DEFAULT_DIM_BASE_TYPE}
1701
@test constructorof(SymbolicDimensionsSingleton) === SymbolicDimensionsSingleton
0 commit comments