Skip to content

Commit

Permalink
Fix scitypes test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Nov 19, 2023
1 parent 117655a commit e66863a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_scitypes.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using DynamicQuantities
using DynamicQuantities: DEFAULT_QUANTITY_TYPE, constructorof
using ScientificTypes
import ScientificTypes as ST

Expand All @@ -18,6 +19,6 @@ sch = schema(X)

@test first(sch.names) == :x
@test first(sch.scitypes) == Continuous
@test first(sch.types) <: Quantity{Float64}
@test first(sch.types) <: constructorof(DEFAULT_QUANTITY_TYPE){Float64}

@test first(schema((; x=rand(1:10, 5) .* Quantity{Int}(u"m/s"))).scitypes) == Count

0 comments on commit e66863a

Please sign in to comment.