JuliaApproximation / DomainSets.jl

A Julia package for describing domains as continuous sets of elements
MIT License
72 stars 12 forks source link

Support Julia v1.6 #73

Closed dlfivefifty closed 3 years ago

dlfivefifty commented 3 years ago
Test Summary: | Pass  Total
maps          | 1336   1336
Test Summary:   | Pass  Total
generic domains |   90     90
Tuple product domain: Log Test Failed at /Users/sheehanolver/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:946
  Expression: SA[0.2, 0.6] ∉ d1
  Log Pattern: (:warn, "in(x,domain): incompatible types SArray{Tuple{2},Float64,1,2} and Tuple{Float64,Float64}. Returning false.")
  Captured Logs: 
    Test.LogRecord(Warn, "in(x,domain): incompatible types SVector{2, Float64} and Tuple{Float64, Float64}. Returning false.", DomainSets, :domain, :DomainSets_0cbdf1b1, "/Users/sheehanolver/.julia/packages/DomainSets/0EgAC/src/generic/domain.jl", 40, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}())

Stacktrace:
 [1] record(ts::Test.DefaultTestSet, t::Test.LogTestFailure)
   @ Test ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/logging.jl:89
 [2] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:946 [inlined]
 [3] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:938 [inlined]
 [5] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [6] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:806 [inlined]
 [7] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [8] top-level scope
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:18
Tuple product domain: Log Test Failed at /Users/sheehanolver/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:947
  Expression: [0.2, 0.6] ∉ d1
  Log Pattern: (:warn, "in(x,domain): incompatible types Array{Float64,1} and Tuple{Float64,Float64}. Returning false.")
  Captured Logs: 
    Test.LogRecord(Warn, "in(x,domain): incompatible types Vector{Float64} and Tuple{Float64, Float64}. Returning false.", DomainSets, :domain, :DomainSets_0cbdf1b1, "/Users/sheehanolver/.julia/packages/DomainSets/0EgAC/src/generic/domain.jl", 40, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}())

Stacktrace:
 [1] record(ts::Test.DefaultTestSet, t::Test.LogTestFailure)
   @ Test ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/logging.jl:89
 [2] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:947 [inlined]
 [3] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:938 [inlined]
 [5] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [6] macro expansion
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:806 [inlined]
 [7] macro expansion
   @ ~/Projects/julia-1.6/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
 [8] top-level scope
   @ ~/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:18
Test Summary:            | Pass  Fail  Total
specific domains         |  583     2    585
  empty space            |   22           22
  full space             |   20           20
  points                 |   22           22
  intervals              |  236          236
  unit ball              |   48           48
  custom named ball      |    6            6
  cube                   |    9            9
  sphere                 |   38           38
  mapped_domain          |   13           13
  simplex                |   45           45
  arithmetics            |   11           11
  cartesian product      |  113     2    115
    ProductDomain 1      |   26           26
    ProductDomain 2      |   20           20
    mixed intervals      |    7            7
    vector domains       |   29           29
    Tuple product domain |   25     2     27
    ProductDomain{T}     |    6            6
ERROR: LoadError: LoadError: Some tests did not pass: 583 passed, 2 failed, 0 errored, 0 broken.
in expression starting at /Users/sheehanolver/.julia/packages/DomainSets/0EgAC/test/test_specific_domains.jl:17
in expression starting at /Users/sheehanolver/.julia/packages/DomainSets/0EgAC/test/runtests.jl:7
ERROR: Package DomainSets errored during testing
daanhb commented 3 years ago

Seems to be working again with the commit you made @dlfivefifty, just tested locally on v1.6.0 - thanks!