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 117655a commit e66863aCopy full SHA for e66863a
test/test_scitypes.jl
@@ -1,4 +1,5 @@
1
using DynamicQuantities
2
+using DynamicQuantities: DEFAULT_QUANTITY_TYPE, constructorof
3
using ScientificTypes
4
import ScientificTypes as ST
5
@@ -18,6 +19,6 @@ sch = schema(X)
18
19
20
@test first(sch.names) == :x
21
@test first(sch.scitypes) == Continuous
-@test first(sch.types) <: Quantity{Float64}
22
+@test first(sch.types) <: constructorof(DEFAULT_QUANTITY_TYPE){Float64}
23
24
@test first(schema((; x=rand(1:10, 5) .* Quantity{Int}(u"m/s"))).scitypes) == Count
0 commit comments